Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Aegel5/SimpleSwitcher
/ FromString
Method
FromString
src/ConfigData.h:63–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
}
62
63
void FromString(UView str) {
64
keys.clear();
65
for (const auto& hk_string : StrUtils::Split(str,
','
)) {
66
keys.push_back(CHotKey::FromString(hk_string));
67
}
68
if (keys.empty()) keys.resize(1);
69
}
70
};
71
72
struct LayoutInfo {
Callers
1
from_json
Function · 0.45
Calls
5
Split
Function · 0.85
clear
Method · 0.45
push_back
Method · 0.45
empty
Method · 0.45
resize
Method · 0.45
Tested by
no test coverage detected