Prove the actual target projection before committing its references. This certifies the tip only, not every historical intermediate state.
(
self,
project: &ProjectTree,
proof: &VerifiedProspectiveEquivalence,
)
| 967 | /// Prove the actual target projection before committing its references. |
| 968 | /// This certifies the tip only, not every historical intermediate state. |
| 969 | pub fn finish( |
| 970 | self, |
| 971 | project: &ProjectTree, |
| 972 | proof: &VerifiedProspectiveEquivalence, |
| 973 | ) -> Result<GitStreamOutcome, RepositoryError> { |
| 974 | self.finish_with_guard(project, proof, || Ok(())) |
| 975 | } |
| 976 | |
| 977 | /// Check an external observation while holding the operation lock before |
| 978 | /// preparing the final promotion. A failed check leaves the staged changes |