MCPcopy Create free account
hub / github.com/foxcpp/maddy / escapeName

Function escapeName

internal/updatepipe/serialize.go:35–37  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

33}
34
35func escapeName(s string) string {
36 return strings.ReplaceAll(s, ";", "\x10")
37}
38
39func parseUpdate(s string) (id string, upd *mess.Update, err error) {
40 parts := strings.SplitN(s, ";", 2)

Callers 1

formatUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected