aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-25 21:22:27 +0200
committerStefan Boberg <[email protected]>2021-09-25 21:22:27 +0200
commitcd3386a73371e041fe7f392c8fbb890d25c670f2 (patch)
treefdef270583aa9039e56961c368d88ba1c989344c /zencore/include
parentAdded TemporaryFile implementation, provides a simple abstraction around temp... (diff)
downloadzen-cd3386a73371e041fe7f392c8fbb890d25c670f2.tar.xz
zen-cd3386a73371e041fe7f392c8fbb890d25c670f2.zip
Removed some unnecessary filesystem wrapper functions which accepted wchar* arguments
Also moved some platform specific functionality into Windows conditional sections
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/filesystem.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h
index a2d368d6f..16d6ede53 100644
--- a/zencore/include/zencore/filesystem.h
+++ b/zencore/include/zencore/filesystem.h
@@ -14,19 +14,16 @@ class IoBuffer;
/** Delete directory (after deleting any contents)
*/
-ZENCORE_API bool DeleteDirectories(const wchar_t* dir);
ZENCORE_API bool DeleteDirectories(const std::filesystem::path& dir);
/** Ensure directory exists.
Will also create any required parent directories
*/
-ZENCORE_API bool CreateDirectories(const wchar_t* dir);
ZENCORE_API bool CreateDirectories(const std::filesystem::path& dir);
/** Ensure directory exists and delete contents (if any) before returning
*/
-ZENCORE_API bool CleanDirectory(const wchar_t* dir);
ZENCORE_API bool CleanDirectory(const std::filesystem::path& dir);
/** Map native file handle to a path