The persisted interpretation closure of one Git commit (CB-9B R1). `None` means the commit was imported before closure persistence (or was never imported here); callers fall back to reconstruction.
(&self, sha: &str)
| 1379 | /// `None` means the commit was imported before closure persistence (or |
| 1380 | /// was never imported here); callers fall back to reconstruction. |
| 1381 | pub fn git_commit_closure(&self, sha: &str) -> Result<Option<Vec<Hash>>, RepositoryError> { |
| 1382 | use atomic_core::pristine::GitCommitClosureTxnT; |
| 1383 | let txn = self |
| 1384 | .pristine |
| 1385 | .read_txn() |
| 1386 | .map_err(|e| RepositoryError::Database(e.to_string()))?; |
| 1387 | txn.get_git_commit_closure(sha) |
| 1388 | .map_err(|e| RepositoryError::Database(e.to_string())) |
| 1389 | } |
| 1390 | |
| 1391 | /// Persist the complete interpreted closure of a Git commit that was |
| 1392 | /// handled outside the synthesis path (squash-insert originals, exact |
no test coverage detected