MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / DeleteFile

Method DeleteFile

Goldleaf/source/fs/fs_StdExplorer.cpp:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 void StdExplorer::DeleteFile(const std::string &path) {
148 const auto full_path = this->MakeFull(path);
149
150 remove(full_path.c_str());
151 this->DoCommit();
152 }
153
154 void StdExplorer::DeleteDirectory(const std::string &path) {
155 const auto full_path = this->MakeFull(path);

Callers 11

DeleteLogFileIfTooBigFunction · 0.45
ExitFunction · 0.45
PrepareInstallationMethod · 0.45
SaveTicketFunction · 0.45
StartCopyMethod · 0.45
PromptDeleteFileMethod · 0.45
StartUpdateSearchMethod · 0.45
clear_logs_DefaultKeyMethod · 0.45
SaveFileMethod · 0.45
EditUserIconFunction · 0.45
ExportSelectedUserIconFunction · 0.45

Calls 2

DoCommitMethod · 0.95
MakeFullMethod · 0.80

Tested by

no test coverage detected