diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:21:59 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:21:59 +0200 |
commit | d4af25c52a28b93484ffb55e0a8027bc4ce7856f (patch) | |
tree | 853d57468d6b370711e7a5dd2c3dc7d5bac81b10 /file_hierarchy.h | |
parent | 5.8 (diff) | |
download | FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.tar.gz FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.tar.bz2 FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.zip |
5.9
Diffstat (limited to 'file_hierarchy.h')
-rw-r--r-- | file_hierarchy.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/file_hierarchy.h b/file_hierarchy.h index 4139a53a..5a5b5818 100644 --- a/file_hierarchy.h +++ b/file_hierarchy.h @@ -86,8 +86,8 @@ class FileMapping; class SymLinkMapping; class FileSystemObject; - //------------------------------------------------------------------ + /* ERD: DirContainer 1 --> 0..n DirContainer @@ -217,8 +217,8 @@ private: BaseDirMapping& root_; }; - //------------------------------------------------------------------ + class BaseDirMapping : public HierarchyObject //synchronization base directory { public: @@ -430,6 +430,8 @@ private: std::unique_ptr<std::wstring> syncDirConflict; //non-empty if we have a conflict setting sync-direction //get rid of std::wstring small string optimization (consumes 32/48 byte on VS2010 x86/x64!) + //Note: we model *four* states with last two variables => "syncDirConflict is empty or syncDir == NONE" is a class invariant!!! + Zstring shortNameLeft_; //slightly redundant under linux, but on windows the "same" filenames can differ in case Zstring shortNameRight_; //use as indicator: an empty name means: not existing! |