MCPcopy Create free account
hub / github.com/cafali/SnapKey / CreateDefaultConfig

Function CreateDefaultConfig

SnapKey.cpp:369–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369void CreateDefaultConfig(const std::string& filename) {
370 RestoreConfigFromBackup("backup.snapkey", filename);
371}
372
373bool LoadConfig(const std::string& filename) {
374 std::ifstream configFile(filename);

Callers 1

LoadConfigFunction · 0.85

Calls 1

RestoreConfigFromBackupFunction · 0.85

Tested by

no test coverage detected