List indexed Git SHAs without loading historical change objects.
(&self)
| 3775 | |
| 3776 | /// List indexed Git SHAs without loading historical change objects. |
| 3777 | pub fn indexed_git_shas(&self) -> Result<Vec<String>, RepositoryError> { |
| 3778 | use atomic_core::pristine::GitShaIndexTxnT; |
| 3779 | |
| 3780 | let txn = self |
| 3781 | .pristine |
| 3782 | .read_txn() |
| 3783 | .map_err(|e| RepositoryError::Database(e.to_string()))?; |
| 3784 | txn.list_git_shas() |
| 3785 | .map_err(|e| RepositoryError::Database(e.to_string())) |
| 3786 | } |
| 3787 | |
| 3788 | /// Backfill the GIT_SHA_INDEX from existing imported changes. |
| 3789 | /// |
nothing calls this directly
no test coverage detected