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

Method RemovePath

pkg/util/json/json.go:171–171  ·  view source on GitHub ↗

RemovePath and doRemovePath implement the `#-` operator for strings, returning JSON after removal, whether removal is valid and error message.

(path []string)

Source from the content-addressed store, hash-verified

169 // RemovePath and doRemovePath implement the `#-` operator for strings, returning JSON after removal,
170 // whether removal is valid and error message.
171 RemovePath(path []string) (JSON, bool, error)
172 doRemovePath(path []string) (JSON, bool, error)
173
174 // Concat implements the `||` operator.

Callers 1

RemovePathMethod · 0.65

Implementers 4

jsonNullpkg/util/json/json.go
jsonFalsepkg/util/json/json.go
jsonTruepkg/util/json/json.go
jsonEncodedpkg/util/json/encoded.go

Calls

no outgoing calls

Tested by

no test coverage detected