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 e90ad544..8848fbc2 100644
--- a/zen/file_handling.h
+++ b/zen/file_handling.h
@@ -21,7 +21,7 @@ struct CallbackCopyFile;
bool fileExists (const Zstring& filename); //throw() check whether file or symlink exists
bool dirExists (const Zstring& dirname); //throw() check whether directory or symlink exists
-bool symlinkExists (const Zstring& objname); //throw() check whether a symbolic link exists
+bool symlinkExists (const Zstring& linkname); //throw() check whether a symbolic link exists
bool somethingExists(const Zstring& objname); //throw() check whether any object with this name exists
//check whether two folders are located on the same (logical) volume
@@ -108,7 +108,7 @@ struct CallbackCopyFile //callback functionality
//may throw:
//Linux: unconditionally
//Windows: first exception is swallowed, updateCopyStatus() is then called again where it should throw again and exception will propagate as expected
- virtual void updateCopyStatus(UInt64 totalBytesTransferred) = 0;
+ virtual void updateCopyStatus(Int64 bytesDelta) = 0; //accummulated delta != file size! consider ADS, sparse, compressed files
};
bgstack15