FileUtil: Return success bool from CopyDir

This commit is contained in:
Dentomologist
2022-08-23 17:10:07 -07:00
parent 12b204d92a
commit 2808db7f2f
2 changed files with 18 additions and 13 deletions

View File

@ -193,7 +193,7 @@ bool DeleteDirRecursively(const std::string& directory);
std::string GetCurrentDir();
// Create directory and copy contents (optionally overwrites existing files)
void CopyDir(const std::string& source_path, const std::string& dest_path,
bool CopyDir(const std::string& source_path, const std::string& dest_path,
bool destructive = false);
// Set the current directory to given directory