summaryrefslogtreecommitdiff
path: root/zen/file_handling.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/file_handling.h')
-rw-r--r--zen/file_handling.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/file_handling.h b/zen/file_handling.h
index 2c4f7938..b3d5ca1a 100644
--- a/zen/file_handling.h
+++ b/zen/file_handling.h
@@ -52,7 +52,7 @@ void makeDirectory(const Zstring& directory, bool failIfExists = false); //throw
//templateDir may be empty
void makeDirectoryPlain(const Zstring& directory, const Zstring& templateDir, bool copyFilePermissions); //throw FileError, ErrorTargetExisting, ErrorTargetPathMissing
-struct FileAttrib
+struct InSyncAttributes
{
UInt64 fileSize;
Int64 modificationTime; //time_t UTC compatible
@@ -65,7 +65,7 @@ void copyFile(const Zstring& sourceFile, //throw FileError, ErrorTargetPathMissi
bool copyFilePermissions,
bool transactionalCopy,
CallbackCopyFile* callback, //may be nullptr
- FileAttrib* newAttrib = nullptr); //return current attributes at the time of copy
+ InSyncAttributes* newAttrib = nullptr); //return current attributes at the time of copy
//Note: it MAY happen that copyFile() leaves temp files behind, e.g. temporary network drop.
// => clean them up at an appropriate time (automatically set sync directions to delete them). They have the following ending:
const Zstring TEMP_FILE_ENDING = Zstr(".ffs_tmp");
bgstack15