MCPcopy
hub / github.com/freedomofdevelopers/fod / jsEscape

Function jsEscape

fodcmd/pac.go:35–37  ·  view source on GitHub ↗
(in string)

Source from the content-addressed store, hash-verified

33`))
34
35func jsEscape(in string) string {
36 return strings.Replace(in[1:], ".", "\\.", -1)
37}
38
39func pacFile(target io.Writer, domains ...string) error {
40 return pacTmpl.Execute(target, domains)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected