- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for modPath (0.2 sec)
-
src/cmd/go/internal/modcmd/vendor.go
} else { base.Error(err) } } } } type metakey struct { modPath string dst string } var copiedMetadata = make(map[metakey]bool) // copyMetadata copies metadata files from parents of src to parents of dst, // stopping after processing the src parent for modPath. func copyMetadata(modPath, pkg, dst, src string, copiedFiles map[string]bool) { for parent := 0; ; parent++ {
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/modfetch/coderepo.go
// pathMajor is the suffix of modPath that indicates its major version, // or the empty string if modPath is at major version 0 or 1. // // pathMajor is typically of the form "/vN", but possibly ".vN", or // ".vN-unstable" for modules resolved using gopkg.in. pathMajor string // pathPrefix is the prefix of modPath that excludes pathMajor. // It is used only for logging. pathPrefix string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 38.4K bytes - Viewed (0) -
src/internal/coverage/encodemeta/encode.go
"io" "os" ) type CoverageMetaDataBuilder struct { stab stringtab.Writer funcs []funcDesc tmp []byte // temp work slice h hash.Hash pkgpath uint32 pkgname uint32 modpath uint32 debug bool werr error } func NewCoverageMetaDataBuilder(pkgpath string, pkgname string, modulepath string) (*CoverageMetaDataBuilder, error) { if pkgpath == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 17:16:10 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/distpack/pack.go
"os" "path" "path/filepath" "runtime" "strings" "time" "cmd/internal/telemetry" ) func usage() { fmt.Fprintf(os.Stderr, "usage: distpack\n") os.Exit(2) } const ( modPath = "golang.org/toolchain" modVersionPrefix = "v0.0.1" ) var ( goroot string gohostos string gohostarch string goos string goarch string ) func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
// want these even for dependency go.mods default: return } } wrapModPathError := func(modPath string, err error) { *errs = append(*errs, Error{ Filename: f.Syntax.Name, Pos: line.Start, ModPath: modPath, Verb: verb, Err: err, }) } wrapError := func(err error) { *errs = append(*errs, Error{ Filename: f.Syntax.Name,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
if strings.HasPrefix(modPath, "gopkg.in/") { invalidMajorVersionMsg := fmt.Errorf("module paths beginning with gopkg.in/ must always have a major version suffix in the form of .vN:\n\tgo mod init %s", suggestGopkgIn(modPath)) base.Fatalf(`go: invalid module path "%v": %v`, modPath, invalidMajorVersionMsg) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/edit.go
func editPrintJSON(workFile *modfile.WorkFile) { var f workfileJSON if workFile.Go != nil { f.Go = workFile.Go.Version } for _, d := range workFile.Use { f.Use = append(f.Use, useJSON{DiskPath: d.Path, ModPath: d.ModulePath}) } for _, r := range workFile.Replace { f.Replace = append(f.Replace, replaceJSON{r.Old, r.New}) } data, err := json.MarshalIndent(&f, "", "\t") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/edit.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
return nil, errNotFromModuleCache } return openIndexModule(modroot, true) } var mcache par.ErrCache[string, *Module] // openIndexModule returns the module index for modPath. // It will return ErrNotIndexed if the module can not be read // using the index because it contains symlinks. func openIndexModule(modroot string, ismodcache bool) (*Module, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// Path string // Version string // } // // type GoMod struct { // Module ModPath // Go string // Toolchain string // Godebug []Godebug // Require []Require // Exclude []Module // Replace []Replace // Retract []Retract // } // // type ModPath struct { // Path string // Deprecated string // } // // type Godebug struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0)