We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PartialEq, Eq, PartialOrd, Ord
1 parent d8fbe1e commit 66158d2Copy full SHA for 66158d2
gix-index/src/entry/flags.rs
@@ -6,7 +6,7 @@ bitflags! {
6
/// In-memory flags.
7
///
8
/// Notably, not all of these will be persisted but can be used to aid all kinds of operations.
9
- #[derive(Debug, Clone, Copy, Eq, PartialEq)]
+ #[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10
pub struct Flags: u32 {
11
// TODO: could we use the pathlen ourselves to save 8 bytes? And how to handle longer paths than that? 0 as sentinel maybe?
12
/// The mask to obtain the length of the path associated with this entry, up to 4095 characters without extension.
0 commit comments