diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:43 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:43 +0200 |
commit | 4226e548662339ea1ca37b45385a7cf9b237ff1e (patch) | |
tree | 9a3fa54b85d97f05164e41bdb96b82f748a37342 /comparison.h | |
parent | 3.7 (diff) | |
download | FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2 FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip |
3.8
Diffstat (limited to 'comparison.h')
-rw-r--r-- | comparison.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/comparison.h b/comparison.h index caa237c0..e6d95d40 100644 --- a/comparison.h +++ b/comparison.h @@ -10,6 +10,7 @@ #include "fileHierarchy.h" #include "library/processXml.h" #include "library/statusHandler.h" +#include "structures.h" namespace FreeFileSync @@ -40,8 +41,7 @@ std::vector<FolderPairCfg> extractCompareCfg(const MainConfiguration& mainCfg); class CompareProcess { public: - CompareProcess(bool processSymLinks, - bool traverseSymLinks, + CompareProcess(SymLinkHandling handleSymlinks, size_t fileTimeTol, bool ignoreOneHourDiff, xmlAccess::OptionalDialogs& warnings, @@ -52,12 +52,13 @@ public: FolderComparison& output); private: - void compareByTimeSize(const std::vector<FolderPairCfg>& directoryPairsFormatted, FolderComparison& output); - - void compareByContent(const std::vector<FolderPairCfg>& directoryPairsFormatted, FolderComparison& output); + void compareByTimeSize(const std::vector<FolderPairCfg>& directoryPairsFormatted, FolderComparison& output) const; + void compareByContent( const std::vector<FolderPairCfg>& directoryPairsFormatted, FolderComparison& output) const; //create comparison result table and fill category except for files existing on both sides - void performBaseComparison(BaseDirMapping& output, std::vector<FileMapping*>& appendUndefined); + void performBaseComparison(BaseDirMapping& output, std::vector<FileMapping*>& appendUndefined) const; + + void categorizeSymlink(SymLinkMapping* linkObj) const; //buffer accesses to the same directories; useful when multiple folder pairs are used class DirectoryBuffer; |