MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / destroyMetadata

Method destroyMetadata

launcher/minecraft/mod/Mod.cpp:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void Mod::destroyMetadata(QDir& index_dir)
163{
164 if (metadata()) {
165 Metadata::remove(index_dir, metadata()->slug);
166 } else {
167 auto n = name();
168 Metadata::remove(index_dir, n);
169 }
170 m_local_details.metadata = nullptr;
171}
172
173auto Mod::details() const -> const ModDetails&
174{

Callers 1

deleteModsMetadataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected