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

Function removeEmptyDirectory

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

@brief Removes an empty directory @param directory Empty directory to remove @return Invalid Result if the directory doesn't exist or it's not empty @see makeDirectoryRecursive (for an usage example)

Source from the content-addressed store, hash-verified

232 /// @return Invalid Result if the directory doesn't exist or it's not empty
233 /// @see makeDirectoryRecursive (for an usage example)
234 Result removeEmptyDirectory(StringSpan directory) { return removeEmptyDirectories({directory}); }
235
236 /// @brief Creates new directories that do not already exist
237 /// @param directories List of paths where to create such directories

Callers 2

removeEmptyDirectoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected