Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/USBGuard/usbguard
/ load
Method
load
src/Daemon/FileRuleSet.cpp:56–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
55
56
void FileRuleSet::load()
57
{
58
if (!isWritable()) {
59
USBGUARD_LOG(Info) <<
"RuleSet is not writable"
;
60
return;
61
}
62
63
load(_rulesPath);
64
}
65
66
void FileRuleSet::save()
67
{
Callers
nothing calls this directly
Calls
2
ErrnoException
Class · 0.85
parseRuleFromString
Function · 0.85
Tested by
no test coverage detected