Get the auth file path (~/.config/observe/auth.json)
()
| 48 | impl 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> { |
nothing calls this directly
no outgoing calls
no test coverage detected