Revert "Merge pull request #5174 from ReinUsesLisp/fs-fix"

This reverts commit 1f5f5d8d3c, reversing
changes made to 714b347f96.
This commit is contained in:
Morph 2020-12-11 20:22:01 -05:00
parent 9e47a3f7cd
commit 07b5c70975
2 changed files with 4 additions and 36 deletions

View file

@ -54,14 +54,8 @@ enum class UserPath {
// Returns true if successful, or path already exists.
bool CreateDir(const std::filesystem::path& path);
// Create all directories in path
// Returns true if successful, or path already exists.
[[nodiscard("Directory creation can fail and must be tested")]] bool CreateDirs(
const std::filesystem::path& path);
// Creates directories in path. Returns true on success.
[[deprecated("This function is deprecated, use CreateDirs")]] bool CreateFullPath(
const std::filesystem::path& path);
// Creates the full path of path. Returns true on success
bool CreateFullPath(const std::filesystem::path& path);
// Deletes a given file at the path.
// This will also delete empty directories.