Function sos_sdk::commit::event_log_commit_tree_file
source · pub async fn event_log_commit_tree_file<P: AsRef<Path>, F>(
event_log_file: P,
verify: bool,
func: F
) -> Result<CommitTree>where
F: Fn(&EventLogFileRecord),Expand description
Build a commit tree from a event log file optionally verifying all the row checksums.
The func is invoked with the row information so
callers can display debugging information if necessary.