Clean up .graphite file serde encoding

This commit is contained in:
Keavon Chambers
2023-12-06 01:51:48 -08:00
parent 8f9371dad0
commit 3e35abd377
10 changed files with 30 additions and 17 deletions
-3
View File
@@ -38,8 +38,6 @@ pub struct Document {
pub collapsed_folders: Vec<LayerNodeIdentifier>,
#[serde(skip)]
pub metadata: DocumentMetadata,
#[serde(default)]
pub commit_hash: String,
}
impl PartialEq for Document {
@@ -108,7 +106,6 @@ impl Default for Document {
},
metadata: Default::default(),
collapsed_folders: Vec::new(),
commit_hash: String::new(),
}
}
}