Skip to content

Commit 59da820

Browse files
committed
vfs: make DirEntry comparable
1 parent 9a579dd commit 59da820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vfs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub struct FileMetadata {
6868
pub len: u64,
6969
}
7070

71-
#[derive(Debug, Serialize, Deserialize)]
71+
#[derive(Debug, Serialize, Deserialize, PartialEq)]
7272
pub struct DirEntry {
7373
pub path: String,
7474
pub file_type: FileType,

0 commit comments

Comments
 (0)