MCPcopy Index your code
hub / github.com/XmirrorSecurity/OpenSCA-cli / pushNs

Method pushNs

opensca/sca/java/xml/xml.go:457–462  ·  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

455// Record that we are changing the value of ns[local].
456// The old value is url, ok.
457func (d *Decoder) pushNs(local string, url string, ok bool) {
458 s := d.push(stkNs)
459 s.name.Local = local
460 s.name.Space = url
461 s.ok = ok
462}
463
464// Creates a SyntaxError with the current line number.
465func (d *Decoder) syntaxError(msg string) error {

Callers 1

TokenMethod · 0.95

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected