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

Function side_a_change_hash

atomic-cli/tests/it/git_import_cb9b_test.rs:2516–2521  ·  view source on GitHub ↗
(
    repo: &atomic_repository::Repository,
    sha: String,
)

Source from the content-addressed store, hash-verified

2514}
2515
2516fn side_a_change_hash(
2517 repo: &atomic_repository::Repository,
2518 sha: String,
2519) -> atomic_core::types::Hash {
2520 change_of(repo, "main", &sha).hash().unwrap()
2521}
2522
2523/// Review B4/C3 (AC-2/AC-1): the hooks-off Git-native bound-intermediate flow
2524/// — base -> bound intermediate -> later same-file append, squashed onto base

Callers

nothing calls this directly

Calls 3

change_ofFunction · 0.70
unwrapMethod · 0.45
hashMethod · 0.45

Tested by

no test coverage detected