From 3f7f4f34bec0c2e4e27e6d939a015d5ae48a562d Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Mon, 9 Sep 2019 18:27:22 +0200 Subject: [PATCH] src/pxar/decoder.rs: remove `DirectoryEntry` start_offset and end_offset functions ... as they are not needed with the latest iteration of the fuse callback function impl (which never made it into the repos). Signed-off-by: Christian Ebner --- src/pxar/decoder.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/pxar/decoder.rs b/src/pxar/decoder.rs index 2ef600f8..5cec5095 100644 --- a/src/pxar/decoder.rs +++ b/src/pxar/decoder.rs @@ -22,16 +22,6 @@ pub struct DirectoryEntry { pub entry: PxarEntry, } -impl DirectoryEntry { - pub(crate) fn start_offset(&self) -> u64 { - self.start - } - - pub(crate) fn end_offset(&self) -> u64 { - self.end - } -} - // This one needs Read+Seek pub struct Decoder Result<(), Error>> { inner: SequentialDecoder,