summaryrefslogtreecommitdiff
path: root/file_hierarchy.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
commitc0cdb2ad99a1e2a6ade5ce76c91177a79258e669 (patch)
tree4701a015385d9a6a5a4ba99a8f1f5d400fff26b1 /file_hierarchy.h
parent3.13 (diff)
downloadFreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.gz
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.bz2
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.zip
3.14
Diffstat (limited to 'file_hierarchy.h')
-rw-r--r--file_hierarchy.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/file_hierarchy.h b/file_hierarchy.h
index f4d9537a..5b630c9f 100644
--- a/file_hierarchy.h
+++ b/file_hierarchy.h
@@ -794,18 +794,18 @@ void FileSystemObject::synchronizeSides()
{
switch (syncDir)
{
- case SYNC_DIR_INT_LEFT:
- shortNameLeft_ = shortNameRight_;
- copyToL();
- break;
- case SYNC_DIR_INT_RIGHT:
- shortNameRight_ = shortNameLeft_;
- copyToR();
- break;
- case SYNC_DIR_INT_NONE:
- case SYNC_DIR_INT_CONFLICT:
- assert(!"if nothing's todo then why arrive here?");
- break;
+ case SYNC_DIR_INT_LEFT:
+ shortNameLeft_ = shortNameRight_;
+ copyToL();
+ break;
+ case SYNC_DIR_INT_RIGHT:
+ shortNameRight_ = shortNameLeft_;
+ copyToR();
+ break;
+ case SYNC_DIR_INT_NONE:
+ case SYNC_DIR_INT_CONFLICT:
+ assert(!"if nothing's todo then why arrive here?");
+ break;
}
syncDir = SYNC_DIR_INT_NONE;
@@ -968,15 +968,15 @@ void DirMapping::swap()
//swap compare result
switch (cmpResult)
{
- case DIR_LEFT_SIDE_ONLY:
- cmpResult = DIR_RIGHT_SIDE_ONLY;
- break;
- case DIR_RIGHT_SIDE_ONLY:
- cmpResult = DIR_LEFT_SIDE_ONLY;
- break;
- case DIR_EQUAL:
- case DIR_DIFFERENT_METADATA:
- break;
+ case DIR_LEFT_SIDE_ONLY:
+ cmpResult = DIR_RIGHT_SIDE_ONLY;
+ break;
+ case DIR_RIGHT_SIDE_ONLY:
+ cmpResult = DIR_LEFT_SIDE_ONLY;
+ break;
+ case DIR_EQUAL:
+ case DIR_DIFFERENT_METADATA:
+ break;
}
}
@@ -1055,23 +1055,23 @@ void FileMapping::swap()
//swap compare result
switch (cmpResult)
{
- case FILE_LEFT_SIDE_ONLY:
- cmpResult = FILE_RIGHT_SIDE_ONLY;
- break;
- case FILE_RIGHT_SIDE_ONLY:
- cmpResult = FILE_LEFT_SIDE_ONLY;
- break;
- case FILE_LEFT_NEWER:
- cmpResult = FILE_RIGHT_NEWER;
- break;
- case FILE_RIGHT_NEWER:
- cmpResult = FILE_LEFT_NEWER;
- break;
- case FILE_DIFFERENT:
- case FILE_EQUAL:
- case FILE_DIFFERENT_METADATA:
- case FILE_CONFLICT:
- break;
+ case FILE_LEFT_SIDE_ONLY:
+ cmpResult = FILE_RIGHT_SIDE_ONLY;
+ break;
+ case FILE_RIGHT_SIDE_ONLY:
+ cmpResult = FILE_LEFT_SIDE_ONLY;
+ break;
+ case FILE_LEFT_NEWER:
+ cmpResult = FILE_RIGHT_NEWER;
+ break;
+ case FILE_RIGHT_NEWER:
+ cmpResult = FILE_LEFT_NEWER;
+ break;
+ case FILE_DIFFERENT:
+ case FILE_EQUAL:
+ case FILE_DIFFERENT_METADATA:
+ case FILE_CONFLICT:
+ break;
}
std::swap(dataLeft, dataRight);
@@ -1257,23 +1257,23 @@ void SymLinkMapping::swap()
//swap compare result
switch (cmpResult)
{
- case SYMLINK_LEFT_SIDE_ONLY:
- cmpResult = SYMLINK_RIGHT_SIDE_ONLY;
- break;
- case SYMLINK_RIGHT_SIDE_ONLY:
- cmpResult = SYMLINK_LEFT_SIDE_ONLY;
- break;
- case SYMLINK_LEFT_NEWER:
- cmpResult = SYMLINK_RIGHT_NEWER;
- break;
- case SYMLINK_RIGHT_NEWER:
- cmpResult = SYMLINK_LEFT_NEWER;
- break;
- case SYMLINK_EQUAL:
- case SYMLINK_DIFFERENT_METADATA:
- case SYMLINK_DIFFERENT:
- case SYMLINK_CONFLICT:
- break;
+ case SYMLINK_LEFT_SIDE_ONLY:
+ cmpResult = SYMLINK_RIGHT_SIDE_ONLY;
+ break;
+ case SYMLINK_RIGHT_SIDE_ONLY:
+ cmpResult = SYMLINK_LEFT_SIDE_ONLY;
+ break;
+ case SYMLINK_LEFT_NEWER:
+ cmpResult = SYMLINK_RIGHT_NEWER;
+ break;
+ case SYMLINK_RIGHT_NEWER:
+ cmpResult = SYMLINK_LEFT_NEWER;
+ break;
+ case SYMLINK_EQUAL:
+ case SYMLINK_DIFFERENT_METADATA:
+ case SYMLINK_DIFFERENT:
+ case SYMLINK_CONFLICT:
+ break;
}
std::swap(dataLeft, dataRight);
bgstack15