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

Method initAndOpenFile

src/MultiDiskAdaptor.cc:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void DiskWriterEntry::initAndOpenFile()
72{
73 if (diskWriter_) {
74 diskWriter_->initAndOpenFile(fileEntry_->getLength());
75 open_ = true;
76 }
77}
78
79void DiskWriterEntry::openFile()
80{

Callers 7

testAllocateMethod · 0.45
createFileFunction · 0.45
loadAndOpenFileMethod · 0.45
handleOtherEncodingMethod · 0.45
onFileSizeDeterminedMethod · 0.45
onFileSizeDeterminedMethod · 0.45

Calls 2

getLengthMethod · 0.45
getMethod · 0.45

Tested by 3

testAllocateMethod · 0.36
createFileFunction · 0.36