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

Method RemoveIndex

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

RemoveIndex implements the `-` operator for ints, returning JSON after removal, whether removal is valid and error message.

(idx int)

Source from the content-addressed store, hash-verified

165 // RemoveIndex implements the `-` operator for ints, returning JSON after removal,
166 // whether removal is valid and error message.
167 RemoveIndex(idx int) (JSON, bool, error)
168
169 // RemovePath and doRemovePath implement the `#-` operator for strings, returning JSON after removal,
170 // whether removal is valid and error message.

Callers 1

RemoveIndexMethod · 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