MCPcopy Create free account
hub / github.com/ElementsProject/elements / DeleteFile

Method DeleteFile

src/leveldb/db/fault_injection_test.cc:302–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302Status FaultInjectionTestEnv::DeleteFile(const std::string& f) {
303 Status s = EnvWrapper::DeleteFile(f);
304 ASSERT_OK(s);
305 if (s.ok()) {
306 UntrackFile(f);
307 }
308 return s;
309}
310
311Status FaultInjectionTestEnv::RenameFile(const std::string& s,
312 const std::string& t) {

Callers 15

DeleteLogFilesMethod · 0.45
DeleteManifestFileMethod · 0.45
BuildTableFunction · 0.45
DeleteAnSSTFileMethod · 0.45
BM_LogAndApplyFunction · 0.45
NewDBMethod · 0.45
DeleteObsoleteFilesMethod · 0.45
BackgroundCompactionMethod · 0.45
DestroyDBFunction · 0.45
RepairTableMethod · 0.45
WriteDescriptorMethod · 0.45
TESTFunction · 0.45

Calls 1

DeleteFileFunction · 0.85

Tested by

no test coverage detected