MCPcopy Create free account
hub / github.com/baidu/tera / ExtractShortKey

Function ExtractShortKey

src/io/coding.cc:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54leveldb::Slice ExtractShortKey(const leveldb::Slice& key_slice) {
55 leveldb::Slice sub_key;
56 CHECK(ParseKeySlice(key_slice, NULL, NULL, &sub_key, NULL));
57 return sub_key;
58}
59
60UserKeyType ExtractKeyType(const leveldb::Slice& key_slice) {
61 UserKeyType type;

Callers 1

CompareMethod · 0.85

Calls 1

ParseKeySliceFunction · 0.85

Tested by

no test coverage detected