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

Method RemovePath

pkg/util/json/encoded.go:710–716  ·  view source on GitHub ↗
(path []string)

Source from the content-addressed store, hash-verified

708}
709
710func (j *jsonEncoded) RemovePath(path []string) (JSON, bool, error) {
711 decoded, err := j.shallowDecode()
712 if err != nil {
713 return nil, false, err
714 }
715 return decoded.RemovePath(path)
716}
717
718func (j *jsonEncoded) doRemovePath(path []string) (JSON, bool, error) {
719 decoded, err := j.shallowDecode()

Callers

nothing calls this directly

Calls 2

shallowDecodeMethod · 0.95
RemovePathMethod · 0.65

Tested by

no test coverage detected