docker/lookaside.go
func registriesDirPath(sys *types.SystemContext) string {
	if sys != nil {
		if sys.RegistriesDirPath != "" {
			return sys.RegistriesDirPath
		}
		if sys.RootForImplicitAbsolutePaths != "" {
			return filepath.Join(sys.RootForImplicitAbsolutePaths, systemRegistriesDirPath)
		}
	}
	return systemRegistriesDirPath
}
func registriesDirPath(sys *types.SystemContext) string {
	if sys != nil {
		if sys.RegistriesDirPath != "" {
			return sys.RegistriesDirPath
		}
		if sys.RootForImplicitAbsolutePaths != "" {
			return filepath.Join(sys.RootForImplicitAbsolutePaths, systemRegistriesDirPath)
		}
	}
	return systemRegistriesDirPath
}
func registriesDirPath ( sys * types . SystemContext ) string { if sys != nil { if sys . RegistriesDirPath != " " { return sys . RegistriesDirPath } if sys . RootForImplicitAbsolutePaths != " " { return filepath . Join ( sys . RootForImplicitAbsolutePaths , systemRegistriesDirPath ) } } return systemRegistriesDirPath }
// registriesDirPath returns a path to registries.d
registriesDirPath returns a path to registries . d