Add fs::move_directory_recursively.

This commit is contained in:
J-D-K
2025-09-21 12:10:48 -04:00
parent f1f10a09e0
commit 418cd3c3d3
4 changed files with 48 additions and 14 deletions

View File

@@ -18,4 +18,7 @@ namespace fs
/// @param directoryPath Path to directory to check.
/// @return True if directory has files inside.
bool directory_has_contents(const fslib::Path &directoryPath);
/// @brief Recursively moves (renames) everything in oldPath to newPath.
bool move_directory_recursively(const fslib::Path &oldPath, const fslib::Path &newPath);
} // namespace fs