MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / working_copy_file_index_key

Function working_copy_file_index_key

atomic-core/src/pristine/traits/tree.rs:244–246  ·  view source on GitHub ↗
(working_copy: WorkingCopyId, path: &str)

Source from the content-addressed store, hash-verified

242/// Encode an unambiguous key in the shared FILE_INDEX table.
243#[inline]
244pub(crate) fn working_copy_file_index_key(working_copy: WorkingCopyId, path: &str) -> String {
245 format!("{}\0{}", working_copy, path)
246}
247
248#[inline]
249fn working_copy_file_index_prefix(working_copy: WorkingCopyId) -> String {

Calls

no outgoing calls

Tested by

no test coverage detected