Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for addInclude (0.11 sec)

  1. 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)
Back to top