MCPcopy Create free account
hub / github.com/ElementsProject/elements / SetFrom

Method SetFrom

src/leveldb/db/dbformat.h:156–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 Slice user_key() const { return ExtractUserKey(rep_); }
155
156 void SetFrom(const ParsedInternalKey& p) {
157 rep_.clear();
158 AppendInternalKey(&rep_, p);
159 }
160
161 void Clear() { rep_.clear(); }
162

Callers

nothing calls this directly

Calls 2

AppendInternalKeyFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected