summaryrefslogtreecommitdiff
path: root/zen/file_access.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-06-19 16:18:18 -0400
committerB Stack <bgstack15@gmail.com>2020-06-19 16:18:18 -0400
commitb2801fb887fe40875b3ec90619b011b45c1d2796 (patch)
treefbbe856cbc0ba5a5d3a831f3ec514563cc69ecb1 /zen/file_access.h
parentMerge branch '10.24' into 'master' (diff)
downloadFreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.tar.gz
FreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.tar.bz2
FreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.zip
add upstream 10.25
Diffstat (limited to 'zen/file_access.h')
-rw-r--r--zen/file_access.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zen/file_access.h b/zen/file_access.h
index 8fdbde68..66c41fbd 100644
--- a/zen/file_access.h
+++ b/zen/file_access.h
@@ -33,9 +33,9 @@ bool dirAvailable (const Zstring& dirPath ); //
enum class ItemType
{
- FILE,
- FOLDER,
- SYMLINK,
+ file,
+ folder,
+ symlink,
};
//(hopefully) fast: does not distinguish between error/not existing
ItemType getItemType(const Zstring& itemPath); //throw FileError
@@ -53,7 +53,7 @@ enum class ProcSymlink
void setFileTime(const Zstring& filePath, time_t modTime, ProcSymlink procSl); //throw FileError
//symlink handling: always follow:
-uint64_t getFreeDiskSpace(const Zstring& path); //throw FileError, returns 0 if not available
+int64_t getFreeDiskSpace(const Zstring& path); //throw FileError, returns < 0 if not available
VolumeId getVolumeId(const Zstring& itemPath); //throw FileError
uint64_t getFileSize(const Zstring& filePath); //throw FileError
bgstack15