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

Function pair

atomic-repository/tests/it/remote_cache_parity_test.rs:130–132  ·  view source on GitHub ↗

A host repository with some history, and a cache materialized from it.

(history: impl Fn(&Repository))

Source from the content-addressed store, hash-verified

128
129/// A host repository with some history, and a cache materialized from it.
130fn pair(history: impl Fn(&Repository)) -> (Pair, String, BTreeMap<u64, String>) {
131 pair_with_hydration(history, true)
132}
133
134fn pair_with_hydration(
135 history: impl Fn(&Repository),

Calls 1

pair_with_hydrationFunction · 0.85

Tested by

no test coverage detected