Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crosspoint-reader/crosspoint-reader
/ saveToFile
Method
saveToFile
src/CrossPointState.cpp:34–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
bool CrossPointState::saveToFile() const {
35
Storage.mkdir(
"/.crosspoint"
);
36
return JsonSettingsIO::saveState(*this, STATE_FILE_JSON);
37
}
38
39
bool CrossPointState::loadFromFile() {
40
// Try JSON first
Callers
15
getSettingsList
Function · 0.45
deleteFamily
Method · 0.45
enterDeepSleep
Function · 0.45
setup
Function · 0.45
handlePostSettings
Method · 0.45
checkConnectionStatus
Method · 0.45
onEnter
Method · 0.45
onExit
Method · 0.45
moveFinishedBookToReadFolder
Function · 0.45
onEnter
Method · 0.45
onExit
Method · 0.45
applyOrientation
Method · 0.45
Calls
1
mkdir
Method · 0.80
Tested by
no test coverage detected