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

Method uncache

plugins/channel-safely/include/tile-cache.h:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 void uncache(const df::coord &pos) {
25 locations.erase(pos);
26 }
27
28 bool hasChanged(const df::coord &pos, const df::tiletype &type) {
29 return locations.count(pos) && type != locations[pos];

Callers 3

mark_doneMethod · 0.80
scan_oneMethod · 0.80
scanMethod · 0.80

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected