From 37dab163d3ee934a56f7d4ef2423c973f20cd27a Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Mon, 25 Jul 2016 20:46:59 +0200 Subject: 8.3 --- zen/file_access.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'zen/file_access.h') 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) -- cgit