MCPcopy Create free account
hub / github.com/apple/foundationdb / destroyFile

Method destroyFile

flow/Platform.actor.cpp:3287–3295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3285}
3286
3287bool TmpFile::destroyFile() {
3288 bool deleted = deleteFile(filename);
3289 if (deleted) {
3290 TraceEvent("TmpFileDestory_Success").detail("Filename", filename);
3291 } else {
3292 TraceEvent("TmpFileDestory_Failed").detail("Filename", filename);
3293 }
3294 return deleted;
3295}
3296
3297} // namespace platform
3298

Callers

nothing calls this directly

Calls 3

TraceEventClass · 0.85
detailMethod · 0.80
deleteFileFunction · 0.70

Tested by

no test coverage detected