mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
fix empty device for device or chardev files
This commit is contained in:
parent
458e925dc4
commit
8a55b5f480
@ -28,9 +28,17 @@ pub struct Node {
|
||||
pub enum NodeType {
|
||||
File,
|
||||
Dir,
|
||||
Symlink { linktarget: String },
|
||||
Dev { device: u64 },
|
||||
Chardev { device: u64 },
|
||||
Symlink {
|
||||
linktarget: String,
|
||||
},
|
||||
Dev {
|
||||
#[serde(default)]
|
||||
device: u64,
|
||||
},
|
||||
Chardev {
|
||||
#[serde(default)]
|
||||
device: u64,
|
||||
},
|
||||
Fifo,
|
||||
Socket,
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user