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

Method RemoveString

pkg/util/json/encoded.go:660–666  ·  view source on GitHub ↗

RemoveString implements the JSON interface.

(s string)

Source from the content-addressed store, hash-verified

658
659// RemoveString implements the JSON interface.
660func (j *jsonEncoded) RemoveString(s string) (JSON, bool, error) {
661 decoded, err := j.shallowDecode()
662 if err != nil {
663 return nil, false, err
664 }
665 return decoded.RemoveString(s)
666}
667
668func (j *jsonEncoded) RemovePath(path []string) (JSON, bool, error) {
669 decoded, err := j.shallowDecode()

Callers

nothing calls this directly

Calls 2

shallowDecodeMethod · 0.95
RemoveStringMethod · 0.65

Tested by

no test coverage detected