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

Method insertOnly

Fleece/Support/StringTable.hh:59–59  ·  view source on GitHub ↗

Faster version of \ref insert that only inserts new keys. MUST NOT be called if the key already exists in the table!

Source from the content-addressed store, hash-verified

57 /// Faster version of \ref insert that only inserts new keys.
58 /// MUST NOT be called if the key already exists in the table!
59 void insertOnly(key_t key, value_t value) {insertOnly(key, value, hashCode(key));}
60 void insertOnly(key_t key, value_t value, hash_t);
61
62 void dump() const noexcept;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected