registriesDirPath returns a path to registries.d
(sys *types.SystemContext)
| 85 | |
| 86 | // registriesDirPath returns a path to registries.d |
| 87 | func 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. |
no test coverage detected
searching dependent graphs…