MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / RemoveString

Method RemoveString

pkg/util/json/encoded.go:702–708  ·  view source on GitHub ↗

RemoveString implements the JSON interface.

(s string)

Source from the content-addressed store, hash-verified

700
701// RemoveString implements the JSON interface.
702func (j *jsonEncoded) RemoveString(s string) (JSON, bool, error) {
703 decoded, err := j.shallowDecode()
704 if err != nil {
705 return nil, false, err
706 }
707 return decoded.RemoveString(s)
708}
709
710func (j *jsonEncoded) RemovePath(path []string) (JSON, bool, error) {
711 decoded, err := j.shallowDecode()

Callers

nothing calls this directly

Calls 2

shallowDecodeMethod · 0.95
RemoveStringMethod · 0.65

Tested by

no test coverage detected