MCPcopy Create free account
hub / github.com/perkeep/perkeep / OptionNoExternalConfig

Function OptionNoExternalConfig

pkg/client/client.go:407–409  ·  view source on GitHub ↗

OptionNoExternalConfig returns a Client constructor option that prevents any on-disk config files or environment variables from influencing the client. It may still use the disk for caches.

()

Source from the content-addressed store, hash-verified

405// prevents any on-disk config files or environment variables from
406// influencing the client. It may still use the disk for caches.
407func OptionNoExternalConfig() ClientOption {
408 return optionNoExtConfig(true)
409}
410
411type optionAuthMode struct {
412 m auth.AuthMode

Callers 4

ClientFunction · 0.92
importAllMethod · 0.92
TestServerOfNameFunction · 0.85

Calls 1

optionNoExtConfigTypeAlias · 0.85

Tested by 1

TestServerOfNameFunction · 0.68