MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / new

Method new

crates/opencode-provider/src/auth.rs:63–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62impl AuthManager {
63 pub fn new() -> Self {
64 Self {
65 credentials: Arc::new(RwLock::new(HashMap::new())),
66 filepath: None,
67 }
68 }
69
70 pub fn with_filepath(filepath: PathBuf) -> Self {
71 Self {

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected