Fix file_type being null in json

pull/38/head
Chip Senkbeil 3 years ago
parent 9c5b723511
commit 878c27742a
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

@ -293,7 +293,7 @@ pub struct DirEntry {
/// Represents the type associated with a dir entry
#[derive(Copy, Clone, Debug, PartialEq, Eq, IsVariant, Serialize, Deserialize)]
#[serde(rename_all = "snake_case", deny_unknown_fields, untagged)]
#[serde(rename_all = "snake_case", deny_unknown_fields)]
pub enum FileType {
Dir,
File,

Loading…
Cancel
Save