MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / destroy

Method destroy

launcher/minecraft/mod/Resource.cpp:145–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145bool Resource::destroy()
146{
147 m_type = ResourceType::UNKNOWN;
148 return FS::deletePath(m_file_info.filePath());
149}

Callers

nothing calls this directly

Calls 2

deletePathFunction · 0.85
filePathMethod · 0.80

Tested by

no test coverage detected