Package org.syncany.database

Examples of org.syncany.database.PartialFileHistory


  private void printGroupedHistories(LsOperationResult operationResult, int longestSize, int longestVersion) {
    Iterator<FileVersion> fileVersionIterator = operationResult.getFileTree().values().iterator();
   
    while (fileVersionIterator.hasNext()) {
      FileVersion fileVersion = fileVersionIterator.next();
      PartialFileHistory fileHistory = operationResult.getFileVersions().get(fileVersion.getFileHistoryId());
     
      out.printf("File %s, %s\n", formatObjectId(fileHistory.getFileHistoryId()), fileVersion.getPath());
     
      for (FileVersion fileVersionInHistory : fileHistory.getFileVersions().values()) {
        if (fileVersionInHistory.equals(fileVersion)) {
          out.print(" * ");
        }
        else {
          out.print("   ")
View Full Code Here

TOP

Related Classes of org.syncany.database.PartialFileHistory

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.