MCPcopy Create free account
hub / github.com/containers/image / registriesDirPath

Function registriesDirPath

docker/registries_d.go:87–89  ·  view source on GitHub ↗

registriesDirPath returns a path to registries.d

(sys *types.SystemContext)

Source from the content-addressed store, hash-verified

85
86// registriesDirPath returns a path to registries.d
87func registriesDirPath(sys *types.SystemContext) string {
88 return registriesDirPathWithHomeDir(sys, homedir.Get())
89}
90
91// registriesDirPathWithHomeDir is an internal implementation detail of registriesDirPath,
92// it exists only to allow testing it with an artificial home directory.

Callers 1

Calls 2

GetMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…