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

Function makeDirectoryRecursive

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

@brief Create a new directory, creating also intermediate non existing directories (like posix `mkdir -p`) @param directory Path where to create such directory @return Invalid Result in case of I/O or access error \snippet Tests/Libraries/FileSystem/FileSystemTest.cpp makeDirectoryRecursive

Source from the content-addressed store, hash-verified

266 /// @return Invalid Result in case of I/O or access error
267 /// \snippet Tests/Libraries/FileSystem/FileSystemTest.cpp makeDirectoryRecursive
268 Result makeDirectoryRecursive(StringSpan directory) { return makeDirectoriesRecursive({directory}); }
269
270 /// @brief Creates a symbolic link at location linkFile pointing at sourceFileOrDirectory
271 /// @param sourceFileOrDirectory The target of the link (can be a folder or directory)

Callers 2

FileSystemTestMethod · 0.85

Calls

no outgoing calls

Tested by 1

FileSystemTestMethod · 0.68