MCPcopy Create free account
hub / github.com/crossuo/crossuo / WriteBool

Method WriteBool

src/Managers/ConfigManager.cpp:1582–1588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1580 }
1581
1582 void WriteBool(const astr_t &key, bool value)
1583 {
1584 if (m_File != nullptr)
1585 {
1586 fputs(astr_t(key + "=" + (value ? "yes" : "no") + "\n").c_str(), m_File);
1587 }
1588 }
1589};
1590
1591void CConfigManager::Save(const fs_path &path)

Callers 1

SaveMethod · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected