MCPcopy Create free account
hub / github.com/Roy3838/Observer / load

Method load

cli/src/auth.rs:55–59  ·  view source on GitHub ↗

Load tokens from file

()

Source from the content-addressed store, hash-verified

53
54 /// Load tokens from file
55 pub fn load() -> Option<Self> {
56 let path = Self::auth_path()?;
57 let contents = fs::read_to_string(&path).ok()?;
58 serde_json::from_str(&contents).ok()
59 }
60
61 /// Save tokens to file
62 pub fn save(&self) -> io::Result<()> {

Callers 15

llm_download_modelFunction · 0.45
llm_generateFunction · 0.45
importAgentFromFileFunction · 0.45
stop_captureFunction · 0.45
get_broadcast_statusFunction · 0.45
start_capture_streamFunction · 0.45
start_captureFunction · 0.45
run_capture_loopFunction · 0.45
stop_captureFunction · 0.45
is_audio_activeFunction · 0.45
max_widthFunction · 0.45
jpeg_qualityFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected