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

Method allPathsWithDepth

pkg/util/json/encoded.go:800–806  ·  view source on GitHub ↗
(depth int)

Source from the content-addressed store, hash-verified

798}
799
800func (j *jsonEncoded) allPathsWithDepth(depth int) ([]JSON, error) {
801 decoded, err := j.decode()
802 if err != nil {
803 return nil, err
804 }
805 return decoded.allPathsWithDepth(depth)
806}
807
808// HasContainerLeaf implements the JSON interface.
809func (j *jsonEncoded) HasContainerLeaf() (bool, error) {

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
allPathsWithDepthMethod · 0.65

Tested by

no test coverage detected