MCPcopy
hub / github.com/larksuite/cli / statefulKeychain

Struct statefulKeychain

cmd/config/bind_test.go:1776–1776  ·  view source on GitHub ↗

statefulKeychain is a local in-memory KeychainAccess used only by the cleanup tests below. The package-wide noopKeychain in internal/cmdutil is intentionally untouched (it is pre-existing stable code) — this local mock gives the cleanup tests real Set/Get roundtrip semantics without changing any exi

Source from the content-addressed store, hash-verified

1774// gives the cleanup tests real Set/Get roundtrip semantics without changing
1775// any existing test infrastructure.
1776type statefulKeychain struct{ items map[string]string }
1777
1778func newStatefulKeychain() *statefulKeychain {
1779 return &statefulKeychain{items: map[string]string{}}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected