MCPcopy Create free account
hub / github.com/amule-project/amule / AllocationFinished

Method AllocationFinished

src/PartFile.cpp:4597–4606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4595}
4596
4597void CPartFile::AllocationFinished()
4598{
4599 // see if it can be opened
4600 if (!m_hpartfile.Open(m_PartPath, CFile::read_write)) {
4601 AddLogLineN(CFormat(_("ERROR: Failed to open partfile '%s'")) % GetFullName());
4602 SetStatus(PS_ERROR);
4603 }
4604 // then close the handle again
4605 m_hpartfile.Release(true);
4606}
4607
4608#endif
4609// File_checked_for_headers

Callers 1

OnFinishedAllocationMethod · 0.80

Calls 3

CFormatClass · 0.85
ReleaseMethod · 0.80
OpenMethod · 0.45

Tested by

no test coverage detected