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

Function short

libatomic/src/daemon/services_sync_remote.rs:1028–1030  ·  view source on GitHub ↗
(key: &str)

Source from the content-addressed store, hash-verified

1026fn import_sidecars(repo: &Repository, pack: &SyncPack, warnings: &mut Vec<String>) -> SidecarStats {
1027 let mut stats = SidecarStats::default();
1028 fn short(key: &str) -> &str {
1029 &key[..12.min(key.len())]
1030 }
1031 for object in &pack.objects {
1032 match object.family {
1033 ObjectFamily::Provenance => {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected