func golang.org/x/mod/modfile.AutoQuote
15 uses
golang.org/x/mod/modfile (current package)
rule.go#L213: Syntax: f.Syntax.addLine(nil, "module", AutoQuote(path)),
rule.go#L217: f.Syntax.updateLine(f.Module.Syntax, "module", AutoQuote(path))
rule.go#L806: func AutoQuote(s string) string {
rule.go#L873: *s = AutoQuote(t)
rule.go#L1178: f.Syntax.updateLine(r.Syntax, "require", AutoQuote(path), vers)
rule.go#L1196: line := f.Syntax.addLine(nil, "require", AutoQuote(path), vers)
rule.go#L1300: line = &Line{Token: []string{AutoQuote(r.Mod.Path), r.Mod.Version}}
rule.go#L1557: f.Exclude = append(f.Exclude, &Exclude{Mod: module.Version{Path: path, Version: vers}, Syntax: f.Syntax.addLine(hint, "exclude", AutoQuote(path), vers)})
rule.go#L1579: tokens := []string{"replace", AutoQuote(oldPath)}
rule.go#L1583: tokens = append(tokens, "=>", AutoQuote(newPath))
rule.go#L1640: r.Syntax = f.Syntax.addLine(nil, "retract", AutoQuote(vi.Low))
rule.go#L1642: r.Syntax = f.Syntax.addLine(nil, "retract", "[", AutoQuote(vi.Low), ",", AutoQuote(vi.High), "]")
work.go#L243: f.Syntax.updateLine(d.Syntax, "use", AutoQuote(diskPath))
work.go#L259: line := f.Syntax.addLine(nil, "use", AutoQuote(diskPath))