MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Escape

Function Escape

server/webdav/internal/xml/xml.go:1972–1974  ·  view source on GitHub ↗

Escape is like EscapeText but omits the error return value. It is provided for backwards compatibility with Go 1.0. Code targeting Go 1.1 or later should use EscapeText.

(w io.Writer, s []byte)

Source from the content-addressed store, hash-verified

1970// It is provided for backwards compatibility with Go 1.0.
1971// Code targeting Go 1.1 or later should use EscapeText.
1972func Escape(w io.Writer, s []byte) {
1973 EscapeText(w, s)
1974}
1975
1976// procInst parses the `param="..."` or `param='...'`
1977// value out of the provided string, returning "" if not found.

Callers 1

marshalStructMethod · 0.85

Calls 1

EscapeTextFunction · 0.85

Tested by

no test coverage detected