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

Method popPrefix

opensca/sca/java/xml/marshal.go:406–415  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404}
405
406func (p *printer) popPrefix() {
407 for len(p.prefixes) > 0 {
408 prefix := p.prefixes[len(p.prefixes)-1]
409 p.prefixes = p.prefixes[:len(p.prefixes)-1]
410 if prefix == "" {
411 break
412 }
413 p.deleteAttrPrefix(prefix)
414 }
415}
416
417var (
418 marshalerType = reflect.TypeFor[Marshaler]()

Callers 1

writeEndMethod · 0.95

Calls 1

deleteAttrPrefixMethod · 0.95

Tested by

no test coverage detected