MCPcopy
hub / github.com/filebrowser/filebrowser / mockUserStore

Struct mockUserStore

auth/proxy_test.go:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type mockUserStore struct {
13 users map[string]*users.User
14}
15
16func (m *mockUserStore) Get(_ string, _ bool, id interface{}) (*users.User, error) {
17 if v, ok := id.(string); ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected