openshift/openshift-copies.go
func resolvePaths(refs []*string, base string) error {
	for _, ref := range refs {
		// Don't resolve empty paths
		if len(*ref) > 0 {
			// Don't resolve absolute paths
			if !filepath.IsAbs(*ref) {
				*ref = filepath.Join(base, *ref)
			}
		}
	}
	return nil
}
func resolvePaths(refs []*string, base string) error {
	for _, ref := range refs {
		// Don't resolve empty paths
		if len(*ref) > 0 {
			// Don't resolve absolute paths
			if !filepath.IsAbs(*ref) {
				*ref = filepath.Join(base, *ref)
			}
		}
	}
	return nil
}
func resolvePaths ( refs [ ] * string , base string ) error { for _ , ref := range refs { // Don't resolve empty paths if len ( * ref ) > 0 { // Don't resolve absolute paths if ! filepath . IsAbs ( * ref ) { * ref = filepath . Join ( base , * ref ) } } } return nil }
// resolvePaths is a modified copy of k8s.io/kubernetes/pkg/client/unversioned/clientcmd.ClientConfigLoadingRules.resolvePaths.
// ResolvePaths updates the given refs to be absolute paths, relative to the given base directory
resolvePaths is a modified copy of k8s . io / kubernetes / pkg / client / unversioned / clientcmd . ClientConfigLoadingRules . resolvePaths . ResolvePaths updates the given refs to be absolute paths relative to the given base directory