MCPcopy Create free account
hub / github.com/BigBoot/AutoKuma / clear_auth_token

Function clear_auth_token

kuma-cli/src/utils.rs:152–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152pub(crate) async fn clear_auth_token() {
153 if let Some(auth_file) =
154 dirs::config_local_dir().map(|dir| dir.join("autokuma").join("auth.txt"))
155 {
156 _ = fs::remove_file(auth_file).await
157 }
158}
159
160pub(crate) async fn store_auth_token(auth_token: &str) {
161 if let Some(auth_file) =

Callers 1

handleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected