Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion durable-storage/src/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl Database {
}

/// Commit the current database state to the repository and return its root hash.
pub(crate) fn commit(&self, repo: &DirectoryManager) -> Result<CommitId, DatabaseError> {
pub fn commit(&self, repo: &DirectoryManager) -> Result<CommitId, DatabaseError> {
let commit_id = self.merkle.commit()?;
self.persistent.commit(repo, &commit_id)?;
Ok(commit_id)
Expand Down
2 changes: 1 addition & 1 deletion durable-storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ pub mod commit;
pub mod database;
pub mod key;
pub mod registry;
mod repo;
pub mod repo;
Loading
Loading