- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for addInclude (0.22 sec)
-
src/cmd/go/internal/modcmd/edit.go
} }) } // flagExclude implements the -exclude flag. func flagExclude(arg string) { path, version := parsePathVersion("exclude", arg) edits = append(edits, func(f *modfile.File) { if err := f.AddExclude(path, version); err != nil { base.Fatalf("go: -exclude=%s: %v", arg, err) } }) } // flagDropExclude implements the -dropexclude flag. func flagDropExclude(arg string) {
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/vendor/golang.org/x/mod/modfile/rule.go
if r.Mod.Path == path { r.Syntax.markRemoved() *r = Require{} } } return nil } // AddExclude adds a exclude statement to the mod file. Errors if the provided // version is not a canonical version string func (f *File) AddExclude(path, vers string) error { if err := checkCanonicalVersion(path, vers); err != nil { return err } var hint *Line
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0)