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

Method auth_path

cli/src/auth.rs:50–52  ·  view source on GitHub ↗

Get the auth file path (~/.config/observe/auth.json)

()

Source from the content-addressed store, hash-verified

48impl AuthTokens {
49 /// Get the auth file path (~/.config/observe/auth.json)
50 fn auth_path() -> Option<PathBuf> {
51 dirs::config_dir().map(|p| p.join("observe").join("auth.json"))
52 }
53
54 /// Load tokens from file
55 pub fn load() -> Option<Self> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected