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

Method pushNs

server/webdav/internal/xml/xml.go:447–452  ·  view source on GitHub ↗

Record that we are changing the value of ns[local]. The old value is url, ok.

(local string, url string, ok bool)

Source from the content-addressed store, hash-verified

445// Record that we are changing the value of ns[local].
446// The old value is url, ok.
447func (d *Decoder) pushNs(local string, url string, ok bool) {
448 s := d.push(stkNs)
449 s.name.Local = local
450 s.name.Space = url
451 s.ok = ok
452}
453
454// Creates a SyntaxError with the current line number.
455func (d *Decoder) syntaxError(msg string) error {

Callers 1

TokenMethod · 0.95

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected