MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / copyDirectory

Function copyDirectory

Libraries/FileSystem/FileSystem.h:174–177  ·  view source on GitHub ↗

@brief Copy a single directory @param source Source directory path @param destination Destination directory path @param copyFlags Copy flags (overwrite, use clone api etc.) @return Valid Result if copy succeeded Example: \snippet Tests/Libraries/FileSystem/FileSystemTest.cpp copyDirectoryRecursiveSnippet

Source from the content-addressed store, hash-verified

172 /// \snippet Tests/Libraries/FileSystem/FileSystemTest.cpp copyDirectoryRecursiveSnippet
173 ResultFileSystem copyDirectory(StringSpan source, StringSpan destination, CopyFlags copyFlags = CopyFlags())
174 {
175 return copyDirectories(CopyOperation{source, destination, copyFlags});
176 }
177
178 /// @brief Rename a file or directory
179 /// @param path The path to the file or directory to rename
180 /// @param newPath The new path to the file or directory

Callers 2

copyDirectoriesMethod · 0.85
copyDirectoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected