MCPcopy
hub / github.com/FiloSottile/mkcert / storeEnabled

Function storeEnabled

main.go:345–356  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

343}
344
345func storeEnabled(name string) bool {
346 stores := os.Getenv("TRUST_STORES")
347 if stores == "" {
348 return true
349 }
350 for _, store := range strings.Split(stores, ",") {
351 if store == name {
352 return true
353 }
354 }
355 return false
356}
357
358func fatalIfErr(err error, msg string) {
359 if err != nil {

Callers 3

RunMethod · 0.85
installMethod · 0.85
uninstallMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…