MCPcopy Create free account
hub / github.com/aria2/aria2 / removeFile

Method removeFile

src/DefaultBtProgressInfoFile.cc:405–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405void DefaultBtProgressInfoFile::removeFile()
406{
407 if (exists()) {
408 File f(filename_);
409 f.remove();
410 }
411}
412
413bool DefaultBtProgressInfoFile::exists()
414{

Callers 3

adjustFilenameMethod · 0.80
removeControlFileMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected