code-generator: k8s.io/code-generator/cmd/client-gen/path Index | Files

package path

import "k8s.io/code-generator/cmd/client-gen/path"

Index

Package Files

path.go

func Vendorless Uses

func Vendorless(p string) string

Vendorless removes the longest match of "*/vendor/" from the front of p. It is useful if a package locates in vendor/, e.g., k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1, because gengo indexes the package with its import path, e.g., k8s.io/apimachinery/pkg/apis/meta/v1,

Package path imports 1 packages (graph) and is imported by 7 packages. Updated 2018-03-17. Refresh now. Tools for package owners.