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

Function removeFile

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

@brief Remove a single file @param source A single file path to be removed @return Valid Result if file was existing and it has been removed successfully @see write (for an usage example)

Source from the content-addressed store, hash-verified

196 /// @return Valid Result if file was existing and it has been removed successfully
197 /// @see write (for an usage example)
198 Result removeFile(StringSpan source) { return removeFiles({source}); }
199
200 /// @brief Remove a single file, giving no error if it doesn't exist
201 /// @param source The file to be removed if it exists

Callers 2

removeFilesMethod · 0.85
removeFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected