MCPcopy Create free account
hub / github.com/USBGuard/usbguard / close

Method close

src/Library/ConfigFilePrivate.cpp:105–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 void ConfigFilePrivate::close()
106 {
107 if (_stream.is_open()) {
108 if (_dirty && !_readonly) {
109 write();
110 }
111
112 _stream.close();
113 }
114 }
115
116 const std::string& ConfigFilePrivate::getSettingValue(const std::string& name) const
117 {

Callers 3

parseConfMethod · 0.45
parseNSSwitchMethod · 0.45
~DaemonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected