MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / quoteEscape

Function quoteEscape

cmd/format/sqlite.go:73–75  ·  view source on GitHub ↗

quoteEscape 转义单引号

(src string)

Source from the content-addressed store, hash-verified

71
72// quoteEscape 转义单引号
73func quoteEscape(src string) (out string) {
74 return strings.ReplaceAll(src, `'`, "\\'")
75}

Callers 1

SqliteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected