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

Function getSaveFilePath

library/modules/Persistence.cpp:192–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192static std::filesystem::path getSaveFilePath(const std::string &world, const std::string &name) {
193 return getSavePath(world) / ("dfhack-" + filterSaveFileName(name) + ".dat");
194}
195
196struct LastLoadSaveTickCountUpdater {
197 ~LastLoadSaveTickCountUpdater() {

Callers 2

saveMethod · 0.85
loadMethod · 0.85

Calls 2

getSavePathFunction · 0.85
filterSaveFileNameFunction · 0.85

Tested by

no test coverage detected