We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64bbb3d commit 0670468Copy full SHA for 0670468
git-repository/src/object/tree/diff.rs
@@ -81,6 +81,10 @@ pub mod change {
81
/// Diffing
82
impl<'repo> Tree<'repo> {
83
/// Return a platform to see the changes needed to create other trees, for instance.
84
+ ///
85
+ /// # Performance
86
87
+ /// It's highly recommended to set an object cache to avoid extracting the same object multiple times.
88
pub fn changes<'a>(&'a self) -> Platform<'a, 'repo> {
89
Platform {
90
state: Default::default(),
0 commit comments