summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 82f4123..7075477 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -45,9 +45,11 @@ pub struct ManifestEntry {
#[serde(skip)]
is_regular: bool,
+ // Store the original name in a hidden field, for compute_checksum.
#[serde(skip)]
filename: PathBuf,
+ // We store pathname as a string so that we can handle non-UTF8 names.
path: String,
#[serde(with = "mode")]
mode: u32,