Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AutoQuote (0.07 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		return err
    	}
    
    	r := &Retract{
    		VersionInterval: vi,
    	}
    	if vi.Low == vi.High {
    		r.Syntax = f.Syntax.addLine(nil, "retract", AutoQuote(vi.Low))
    	} else {
    		r.Syntax = f.Syntax.addLine(nil, "retract", "[", AutoQuote(vi.Low), ",", AutoQuote(vi.High), "]")
    	}
    	if rationale != "" {
    		for _, line := range strings.Split(rationale, "\n") {
    			com := Comment{Token: "// " + 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)
  2. src/cmd/go/internal/modfetch/coderepo.go

    // for dependencies in the middle of a build, impossible to
    // correct. So we stopped.
    func LegacyGoMod(modPath string) []byte {
    	return fmt.Appendf(nil, "module %s\n", modfile.AutoQuote(modPath))
    }
    
    func (r *codeRepo) modPrefix(rev string) string {
    	return r.modPath + "@" + rev
    }
    
    func (r *codeRepo) retractedVersions(ctx context.Context) (func(string) bool, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top