MCPcopy Create free account
hub / github.com/couchbase/fleece / keyString

Method keyString

Fleece/Core/DeepIterator.hh:74–74  ·  view source on GitHub ↗

The Dict key of the current value, or nullkey if the parent is an Array. */

Source from the content-addressed store, hash-verified

72
73 /** The Dict key of the current value, or nullkey if the parent is an Array. */
74 slice keyString() const {return _path.empty() ? nullslice : _path.back().key;}
75
76 /** The Array index of the current value, or 0 if the parent is a Dict. */
77 uint32_t index() const {return _path.empty() ? 0 : _path.back().index;}

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected