func path/filepath.Dir

6 uses

	path/filepath (current package)
		path.go#L465: func Dir(path string) string {

	go.pact.im/x/goupdate
		workspaces.go#L42: 				filepath.Dir(gomod),
		workspaces.go#L47: 	workspaceDir := filepath.Dir(gowork)

	go/build
		build.go#L1225: 			d := filepath.Dir(parent)

	golang.org/x/tools/go/packages
		golist.go#L239: 		fdir := filepath.Dir(query)

	golang.org/x/tools/internal/gocommand
		vendor.go#L123: 	if fi, err := os.Stat(filepath.Join(filepath.Dir(goWork), "vendor")); err == nil && fi.IsDir() {