Package org.syncany.operations.down.actions

Examples of org.syncany.operations.down.actions.RenameFileSystemAction


 
  private RenameFileSystemAction createRenameFileSystemAction(String fromPath, String toPath, FileType type) throws Exception {
    FileVersion firstFileVersion = createFileVersion(fromPath, type);
    FileVersion secondFileVersion = createFileVersion(toPath, type, firstFileVersion);
   
    return new RenameFileSystemAction(createDummyConfig(), firstFileVersion, secondFileVersion, null);
  }
View Full Code Here


    }
    else if (!contentChanged && (winningVersionToLocalVersionComparison.getFileChanges().contains(FileChange.CHANGED_LAST_MOD_DATE)
        || winningVersionToLocalVersionComparison.getFileChanges().contains(FileChange.CHANGED_ATTRIBUTES)
        || winningVersionToLocalVersionComparison.getFileChanges().contains(FileChange.CHANGED_PATH))) { 
     
      FileSystemAction action = new RenameFileSystemAction(config, localLastVersion, winningLastVersion, winnersDatabase);
      fileSystemActions.add(action);

      logger.log(Level.INFO, "     -> (12) Rename / Changed file attributes: Local file has different file attributes: local file = "+localLastFile+", local version = "+localLastVersion+", winning version = "+winningLastVersion);
      logger.log(Level.INFO, "     -> "+action);
     
View Full Code Here

TOP

Related Classes of org.syncany.operations.down.actions.RenameFileSystemAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.