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

Method remove

Fleece/Support/ConcurrentMap.hh:79–79  ·  view source on GitHub ↗

Removes the value for a key. Returns true if removed, false if not found. \note The space occupied by the key string can only be recovered if this was the last key added, so when removing multiple keys it's best to go in reverse chronological order. */

Source from the content-addressed store, hash-verified

77 last key added, so when removing multiple keys it's best to go in reverse
78 chronological order. */
79 bool remove(slice key) {return remove(key, hashCode(key));}
80 bool remove(slice key, hash_t hash);
81
82 /** Writes all the table entries, plus statistics, to stdout. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected