We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tree_with_rewrites::Change
1 parent 0f46d24 commit f1591fbCopy full SHA for f1591fb
gix-diff/src/tree_with_rewrites/change.rs
@@ -4,7 +4,7 @@ use bstr::BString;
4
use bstr::{BStr, ByteSlice};
5
6
/// Represents any possible change in order to turn one tree into another, which references data owned by its producer.
7
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, PartialEq)]
8
pub enum ChangeRef<'a> {
9
/// An entry was added, like the addition of a file or directory.
10
Addition {
@@ -101,7 +101,7 @@ pub enum ChangeRef<'a> {
101
}
102
103
/// Represents any possible change in order to turn one tree into another, with fully-owned data.
104
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq)]
105
pub enum Change {
106
107
0 commit comments