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

Function UnpackUserKey

src/io/coding.cc:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43bool UnpackUserKey(const leveldb::Slice& packed_key, leveldb::Slice* short_key, int64_t* timestamp,
44 UserKeyType* type) {
45 return ParseKeySlice(packed_key, timestamp, type, short_key, NULL);
46}
47
48leveldb::Slice ExtractTimeKey(const leveldb::Slice& key_slice) {
49 leveldb::Slice sub_key;

Callers

nothing calls this directly

Calls 1

ParseKeySliceFunction · 0.85

Tested by

no test coverage detected