- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checkPathCollisions (0.31 sec)
-
src/cmd/go/internal/modcmd/vendor.go
if err := w.Close(); err != nil { base.Fatal(err) } } } // checkPathCollisions will fail if case-insensitive collisions are present. // The reason why we do this check in go mod vendor is to keep consistency // with go build. If modifying, consider changing load() in // src/cmd/go/internal/load/pkg.go func checkPathCollisions(modpkgs map[module.Version][]string) { var foldPath = make(map[string]string, len(modpkgs))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 14:19:59 UTC 2024 - 14.5K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
return } for _, dep := range ldDeps { addImport(dep, false) } } } // Check for case-insensitive collisions of import paths. // If modifying, consider changing checkPathCollisions() in // src/cmd/go/internal/modcmd/vendor.go fold := str.ToFold(p.ImportPath) if other := foldPath[fold]; other == "" { foldPath[fold] = p.ImportPath } else if other != p.ImportPath {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0)