MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Delete

Method Delete

Libraries/unrar/file.cpp:267–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265
266
267bool File::Delete()
268{
269 if (HandleType!=FILE_HANDLENORMAL)
270 return false;
271 if (hFile!=FILE_BAD_HANDLE)
272 Close();
273 if (!AllowDelete)
274 return false;
275 return DelFile(FileName);
276}
277
278
279bool File::Rename(const wchar *NewName)

Callers 1

UpdateExistingShortNameFunction · 0.80

Calls 1

DelFileFunction · 0.85

Tested by

no test coverage detected