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

Method RawToken

opensca/sca/java/xml/xml.go:537–542  ·  view source on GitHub ↗

RawToken is like Token but does not verify that start and end elements match and does not translate name space prefixes to their corresponding URLs.

()

Source from the content-addressed store, hash-verified

535// start and end elements match and does not translate
536// name space prefixes to their corresponding URLs.
537func (d *Decoder) RawToken() (Token, error) {
538 if d.unmarshalDepth > 0 {
539 return nil, errRawToken
540 }
541 return d.rawToken()
542}
543
544func (d *Decoder) rawToken() (Token, error) {
545 if d.t != nil {

Callers

nothing calls this directly

Calls 1

rawTokenMethod · 0.95

Tested by

no test coverage detected