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
| 1774 | // gives the cleanup tests real Set/Get roundtrip semantics without changing |
| 1775 | // any existing test infrastructure. |
| 1776 | type statefulKeychain struct{ items map[string]string } |
| 1777 | |
| 1778 | func newStatefulKeychain() *statefulKeychain { |
| 1779 | return &statefulKeychain{items: map[string]string{}} |
nothing calls this directly
no outgoing calls
no test coverage detected