MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / saveChanges

Method saveChanges

source/ui/data/configFile.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81bool ConfigFile::saveChanges() {
82 std::vector<BString> lines;
83 for (auto& n : this->values) {
84 lines.push_back(n.key+"="+n.value);
85 }
86 return writeLinesToFile(this->fileName, lines);
87}

Callers 5

gotoViewFunction · 0.45
uiLoopFunction · 0.45
saveConfigMethod · 0.45
saveContainerMethod · 0.45
saveAppMethod · 0.45

Calls 2

writeLinesToFileFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected