pub fn diff_trees(
odb: &Odb,
old_tree_oid: Option<&ObjectId>,
new_tree_oid: Option<&ObjectId>,
prefix: &str,
) -> Result<Vec<DiffEntry>>Expand description
Compare two trees and return the list of changed entries.
§Parameters
odb— object database to read tree objects from.old_tree_oid— OID of the old tree (orNonefor comparison against empty).new_tree_oid— OID of the new tree (orNonefor comparison against empty).prefix— path prefix for nested tree recursion (empty string for root).
§Errors
Returns errors from object database reads.