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