MCPcopy Create free account
hub / github.com/cosdata/cosdata / combine_index

Method combine_index

src/models/cache_loader.rs:270–272  ·  view source on GitHub ↗
(file_index: &FileIndex<IndexFileId>)

Source from the content-addressed store, hash-verified

268 }
269
270 pub fn combine_index(file_index: &FileIndex<IndexFileId>) -> u64 {
271 ((file_index.offset.0 as u64) << 32) | (*file_index.file_id as u64)
272 }
273
274 pub fn get_prop_key(
275 FileOffset(file_offset): FileOffset,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected