diff options
author | Daniel Wilhelm <daniel@wili.li> | 2016-07-25 20:46:59 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2016-07-25 20:46:59 +0200 |
commit | 37dab163d3ee934a56f7d4ef2423c973f20cd27a (patch) | |
tree | 050c0b1c35de989fa397faa34f7ed2a1df543e51 /zen/file_access.h | |
parent | 8.2 (diff) | |
download | FreeFileSync-37dab163d3ee934a56f7d4ef2423c973f20cd27a.tar.gz FreeFileSync-37dab163d3ee934a56f7d4ef2423c973f20cd27a.tar.bz2 FreeFileSync-37dab163d3ee934a56f7d4ef2423c973f20cd27a.zip |
8.3
Diffstat (limited to 'zen/file_access.h')
-rw-r--r-- | zen/file_access.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zen/file_access.h b/zen/file_access.h index 9c1b37ef..fb99ce33 100644 --- a/zen/file_access.h +++ b/zen/file_access.h @@ -34,6 +34,8 @@ void setFileTime(const Zstring& filePath, std::int64_t modificationTime, ProcSym std::uint64_t getFilesize(const Zstring& filePath); //throw FileError std::uint64_t getFreeDiskSpace(const Zstring& path); //throw FileError, returns 0 if not available VolumeId getVolumeId(const Zstring& itemPath); //throw FileError +//get per-user directory designated for temporary files: +Zstring getTempFolderPath(); //throw FileError bool removeFile(const Zstring& filePath); //throw FileError; return "false" if file is not existing @@ -44,11 +46,11 @@ void removeDirectoryRecursively(const Zstring& dirPath); //throw FileError //rename file or directory: no copying!!! void renameFile(const Zstring& itemPathOld, const Zstring& itemPathNew); //throw FileError, ErrorDifferentVolume, ErrorTargetExisting -bool supportsPermissions(const Zstring& dirpath); //throw FileError, dereferences symlinks +bool supportsPermissions(const Zstring& dirPath); //throw FileError, dereferences symlinks //- no error if already existing //- create recursively if parent directory is not existing -void makeDirectoryRecursively(const Zstring& dirpath); //throw FileError +void makeDirectoryRecursively(const Zstring& dirPath); //throw FileError //fail if already existing or parent directory not existing: //source path is optional (may be empty) |