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

Function check_for_old_install

package/launchdf.cpp:274–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272};
273
274bool check_for_old_install(std::filesystem::path df_path)
275{
276 for (auto file : old_filelist)
277 {
278 std::filesystem::path p = df_path / file;
279 if (std::filesystem::exists(p))
280 return true;
281 }
282 return false;
283}
284
285void remove_old_install(std::filesystem::path df_path)
286{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected