MCPcopy Create free account
hub / github.com/VCVRack/Rack / hasAutosave

Method hasAutosave

src/patch.cpp:354–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352
353
354bool Manager::hasAutosave() {
355 std::string patchPath = system::join(autosavePath, "patch.json");
356 FILE* file = std::fopen(patchPath.c_str(), "r");
357 if (!file)
358 return false;
359 std::fclose(file);
360 return true;
361}
362
363
364void Manager::loadAutosave() {

Callers

nothing calls this directly

Calls 1

joinFunction · 0.70

Tested by

no test coverage detected