MCPcopy
hub / github.com/openpubkey/opkssh / OptionalLoader

FuncType OptionalLoader

policy/policyloader.go:126–126  ·  view source on GitHub ↗
func(h *HomePolicyLoader, username string) ([]byte, error)

Source from the content-addressed store, hash-verified

124}
125
126type OptionalLoader func(h *HomePolicyLoader, username string) ([]byte, error)
127
128// HomePolicyLoader contains methods to read/write the opkssh policy file stored in
129// `~/.opk/ssh` from/to a filesystem. All methods that read policy from the filesystem fail

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected