- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for vendorPkgModule (0.36 sec)
-
src/cmd/go/internal/modload/import.go
if inVendorDir { readVendorList(vendorDir) // If vendorPkgModule does not contain an entry for path then it's probably either because // vendor/modules.txt does not exist or the user manually added directories to the vendor directory. // Go 1.23 and later require vendored packages to be present in modules.txt to be imported. _, ok := vendorPkgModule[path]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:21:14 UTC 2024 - 27.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
if cfg.BuildMod != "vendor" { return "", fmt.Errorf("without -mod=vendor, directory %s has no package path", absDir) } readVendorList(VendorDir()) if _, ok := vendorPkgModule[pkg]; !ok { return "", fmt.Errorf("directory %s is not a package listed in vendor/modules.txt", absDir) } return pkg, nil } mainModulePrefix := MainModules.PathPrefix(mainModule)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0)