Skip to main content

mark_normalized

Function mark_normalized 

Source
pub fn mark_normalized(dir: &Path) -> Result<(), BridgeError>
Expand description

Record that this state dir’s imported history contains historic-mode-normalized trees (SPEC-GIT-IMPORT §3.3). Sticky: a normalized tree cannot reproduce its original sha1, so a later import→fork upgrade must refuse (SPEC-GIT-BRIDGE §14.3 fork audit would otherwise report false tampering forever).