MCPcopy Create free account
hub / github.com/DFHack/dfhack / clear

Method clear

library/modules/Persistence.cpp:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void Persistence::Internal::clear(color_ostream& out) {
172 CoreSuspender suspend;
173
174 store.clear();
175 entry_cache.clear();
176 next_entry_id = 0;
177 next_fake_df_id = -101;
178}
179
180static std::string filterSaveFileName(std::string s) {
181 for (auto &ch : s) {

Callers 3

getAllMethod · 0.45
getAllByKeyRangeMethod · 0.45
getAllByKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected