go/types.Package.Path (method)

44 uses

	go/types (current package)
		object.go#L629: 		s = pkg.Path()
		package.go#L34: func (pkg *Package) Path() string { return pkg.path }
		sizes.go#L125: 		(obj.Pkg().Path() == "sync/atomic" ||
		sizes.go#L126: 			obj.Pkg().Path() == "internal/runtime/atomic")
		typestring.go#L43: 		return other.Path()
		typestring.go#L174: 				w.string(f.pkg.Path())

	go.pact.im/x/plumb/internal/emit
		emit.go#L124: 		add(p.Path(), p.Name())
		qual.go#L36: 	if p == nil || p.Path() == q.destPath {
		qual.go#L40: 		q.record[p.Path()] = p
		qual.go#L46: 		a, ok := q.alias[p.Path()]
		qual.go#L48: 			panic(fmt.Sprintf("plumb: package %q referenced by the render but not recorded for import", p.Path()))
		qual.go#L66: 	slices.SortFunc(pkgs, func(a, b *types.Package) int { return strings.Compare(a.Path(), b.Path()) })
		report.go#L30: 			if p == nil || p.Path() == importPath {
		report.go#L33: 			if a, ok := aliasByPath[p.Path()]; ok {

	go.pact.im/x/plumb/internal/gen
		gen.go#L145: 		pathName[ip.Path()] = ip.Name()

	go.pact.im/x/plumb/internal/gotypes
		cmp.go#L218: 		pa = a.Pkg().Path()
		cmp.go#L221: 		pb = b.Pkg().Path()

	go.pact.im/x/plumb/internal/solve
		checks.go#L32: 		if p.Pkg != nil && p.Pkg.Path() != s.destPath {
		checks.go#L47: 					return diag.Errorf(p.Pos, diag.ErrUnreachableType, "type argument %s of provider %s, from package %q (%s is unexported)", gotypes.TypeName(ta), p.Name, obj.Pkg().Path(), obj.Name())
		checks.go#L54: 				return diag.Errorf(p.Pos, diag.ErrUnreachableType, "conversion target type %s from package %q (%s is unexported)", gotypes.TypeName(p.ConvertTo), obj.Pkg().Path(), obj.Name())
		checks.go#L65: 			return diag.Errorf(pl.pos, diag.ErrUnreachableType, "injector input type %s, from package %q (%s is unexported)", gotypes.TypeName(t), obj.Pkg().Path(), obj.Name())
		checks.go#L73: 			return diag.Errorf(pl.pos, diag.ErrUnreachableType, "injector output type %s, from package %q (%s is unexported)", gotypes.TypeName(t), obj.Pkg().Path(), obj.Name())
		checks.go#L90: 			return diag.Errorf(pl.pos, diag.ErrUnreachableType, "lifted type parameter %s has a constraint from package %q (%s is unexported)", tp.Obj().Name(), obj.Pkg().Path(), obj.Name())
		checks.go#L125: 		if pkg := tn.Pkg(); pkg != nil && pkg.Path() != destPath && !tn.Exported() {

	golang.org/x/exp/apidiff
		apidiff.go#L27: 	return changesInternal(old, new, old.Path(), new.Path())
		apidiff.go#L90: 		Message:    fmt.Sprintf("package %s: %s", p.Path(), change),
		apidiff.go#L104: 	return strings.TrimPrefix(p.Path(), m.Path)
		correspondence.go#L203: 				opath = oobj.Pkg().Path()
		correspondence.go#L206: 				npath = nobj.Pkg().Path()
		messageset.go#L72: 	thisPackagePath := obj.Pkg().Path()

	golang.org/x/tools/go/types/objectpath
		objectpath.go#L357: 	return "", fmt.Errorf("can't find path for %v in %s", obj, pkg.Path())
		objectpath.go#L743: 		return nil, fmt.Errorf("package %s does not contain %q", pkg.Path(), pkgobj)

	golang.org/x/tools/internal/gcimporter
		iexport.go#L694: 	return pkg.Path()
		iimport.go#L289: 		} else if pkg.Path() != item.Path {
		iimport.go#L290: 			errorf("internal error: getPackages returned wrong path %q, want %q", pkg.Path(), item.Path)
		iimport.go#L1122: func (a byPath) Less(i, j int) bool { return a[i].Path() < a[j].Path() }

	golang.org/x/tools/internal/typesinternal
		isnamed.go#L23: 			tname.Pkg().Path() == pkgPath &&
		isnamed.go#L50: 		f.Pkg().Path() == pkgPath &&
		qualifier.go#L43: 		if name, ok := imports[p.Path()]; ok {
		toonew.go#L23: 	symbols := stdlib.PackageSymbols[pkg.Path()]
		types.go#L192: 		if imp.Path() == path {