summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-23 14:34:08 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-23 14:34:08 +0300
commit06198e61a620361b8f9c6c149eb48cdf1b2b0e4d (patch)
tree44757e6c3139948b1738195a15eabf4f5c7ca828
parent899788965322863f45d601f9ae6a132535f4e557 (diff)
downloadsummain-rs-async.tar.gz
comment moreasync
-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,