MCPcopy Create free account
hub / github.com/baidu/tera / Delete

Method Delete

src/leveldb/persistent_cache/persistent_cache_file.cc:19–25  ·  view source on GitHub ↗

CacheFile

Source from the content-addressed store, hash-verified

17// CacheFile
18//
19Status CacheFile::Delete(uint64_t* size) {
20 Status status = env_->GetFileSize(Path(), size);
21 if (!status.ok()) {
22 return status;
23 }
24 return env_->DeleteFile(Path());
25}
26
27//
28// RandomAccessFile

Callers 4

RemoveMethod · 0.45
RemoveFileInfoMethod · 0.45
InitMethod · 0.45

Calls 3

GetFileSizeMethod · 0.45
okMethod · 0.45
DeleteFileMethod · 0.45

Tested by

no test coverage detected