Merge pull request #36 from rustic-rs/fix-tree-dev

fix possible node types
This commit is contained in:
aawsome 2022-06-30 16:26:49 +02:00 committed by GitHub
commit f8581b224e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,10 @@ pub enum NodeType {
File,
Dir,
Symlink { linktarget: String },
Device { device: u64 },
Dev { device: u64 },
Chardev { device: u64 },
Fifo,
Socket,
}
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Getters)]