MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / HasContainerLeaf

Method HasContainerLeaf

pkg/util/json/encoded.go:738–744  ·  view source on GitHub ↗

HasContainerLeaf implements the JSON interface.

()

Source from the content-addressed store, hash-verified

736
737// HasContainerLeaf implements the JSON interface.
738func (j *jsonEncoded) HasContainerLeaf() (bool, error) {
739 decoded, err := j.decode()
740 if err != nil {
741 return false, err
742 }
743 return decoded.HasContainerLeaf()
744}
745
746// preprocessForContains implements the JSON interface.
747func (j *jsonEncoded) preprocessForContains() (containsable, error) {

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
HasContainerLeafMethod · 0.65

Tested by

no test coverage detected