MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / normalizeLineEndings

Function normalizeLineEndings

internal/store/postgresstore.go:675–682  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

673}
674
675func normalizeLineEndings(s string) string {
676 if s == "" {
677 return s
678 }
679 s = strings.ReplaceAll(s, "\r\n", "\n")
680 s = strings.ReplaceAll(s, "\r", "\n")
681 return s
682}

Callers 2

persistConfigMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected