MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / remove

Method remove

KittyMemoryEx/KittyIOFile.hpp:233–237  ·  view source on GitHub ↗

* @brief Removes the file. * * @return true if the file was removed successfully, false otherwise. */

Source from the content-addressed store, hash-verified

231
232 /**
233 * @brief Removes the file.
234 *
235 * @return true if the file was removed successfully, false otherwise.
236 */
237 inline bool remove()
238 {
239 _error = (unlink(_filePath.c_str()) == -1) ? errno : 0;
240 return _error == 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected