| | 37 | #include "BackupStoreDirectory.h" |
|---|
| | 38 | #include "BackupStoreException.h" |
|---|
| | 39 | #include "BackupStoreFile.h" |
|---|
| | 40 | #include "BackupStoreFilenameClear.h" |
|---|
| | 41 | #include "BoxTimeToText.h" |
|---|
| | 42 | #include "CommonException.h" |
|---|
| | 43 | #include "Configuration.h" |
|---|
| | 44 | #include "ExcludeList.h" |
|---|
| | 45 | #include "FileModificationTime.h" |
|---|
| | 46 | #include "FileStream.h" |
|---|
| | 47 | #include "IOStream.h" |
|---|
| | 48 | #include "Logging.h" |
|---|
| | 49 | #include "PathUtils.h" |
|---|
| | 50 | #include "SelfFlushingStream.h" |
|---|
| | 51 | #include "TemporaryDirectory.h" |
|---|
| 37 | | #include "BackupStoreFilenameClear.h" |
|---|
| 38 | | #include "BackupStoreDirectory.h" |
|---|
| 39 | | #include "IOStream.h" |
|---|
| 40 | | #include "BoxTimeToText.h" |
|---|
| 41 | | #include "FileStream.h" |
|---|
| 42 | | #include "BackupStoreFile.h" |
|---|
| 43 | | #include "TemporaryDirectory.h" |
|---|
| 44 | | #include "FileModificationTime.h" |
|---|
| 45 | | #include "BackupClientFileAttributes.h" |
|---|
| 46 | | #include "CommonException.h" |
|---|
| 47 | | #include "BackupClientRestore.h" |
|---|
| 48 | | #include "BackupStoreException.h" |
|---|
| 49 | | #include "ExcludeList.h" |
|---|
| 50 | | #include "BackupClientMakeExcludeList.h" |
|---|
| 51 | | #include "PathUtils.h" |
|---|
| 52 | | #include "Logging.h" |
|---|
| 1932 | | // Report any files which exist on the locally, but not on the store |
|---|
| 1933 | | for(std::set<std::string>::const_iterator i = localDirs.begin(); i != localDirs.end(); ++i) |
|---|
| 1934 | | { |
|---|
| 1935 | | #ifdef WIN32 |
|---|
| 1936 | | // File name is also in UTF-8 encoding, |
|---|
| 1937 | | // need to convert to console |
|---|
| 1938 | | std::string fileNameDisplay; |
|---|
| 1939 | | if(!ConvertUtf8ToConsole(i->c_str(), fileNameDisplay)) |
|---|
| 1940 | | return; |
|---|
| 1941 | | #else |
|---|
| 1942 | | const std::string& fileNameDisplay(*i); |
|---|
| 1943 | | #endif |
|---|
| | 1933 | // Report any files which exist locally, but not on the store |
|---|
| | 1934 | for(std::set<std::string>::const_iterator |
|---|
| | 1935 | i = localDirs.begin(); |
|---|
| | 1936 | i != localDirs.end(); ++i) |
|---|
| | 1937 | { |
|---|
| | 1938 | #ifdef WIN32 |
|---|
| | 1939 | // File name is also in UTF-8 encoding, |
|---|
| | 1940 | // need to convert to console |
|---|
| | 1941 | std::string fileNameDisplay; |
|---|
| | 1942 | if(!ConvertUtf8ToConsole(i->c_str(), fileNameDisplay)) |
|---|
| | 1943 | return; |
|---|
| | 1944 | #else |
|---|
| | 1945 | const std::string& fileNameDisplay(*i); |
|---|
| | 1946 | #endif |
|---|