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

Method delete

cli/src/auth.rs:81–88  ·  view source on GitHub ↗

Delete stored tokens

()

Source from the content-addressed store, hash-verified

79
80 /// Delete stored tokens
81 pub fn delete() -> io::Result<()> {
82 if let Some(path) = Self::auth_path() {
83 if path.exists() {
84 fs::remove_file(path)?;
85 }
86 }
87 Ok(())
88 }
89
90 /// Check if tokens are expired
91 pub fn is_expired(&self) -> bool {

Callers 15

handleSensorToggleFunction · 0.80
toggleToolFunction · 0.80
acquireMasterStreamMethod · 0.80
clearAgentChangeDataFunction · 0.80
deleteRecordingFunction · 0.80
onFinishedMethod · 0.80
startNewBufferMethod · 0.80
endSessionMethod · 0.80
clearAllHistoryMethod · 0.80
deleteMemoryFunction · 0.80
deleteAgentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected