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 <c.ebner@proxmox.com>
This commit is contained in:
Christian Ebner 2019-09-09 18:27:22 +02:00 committed by Dietmar Maurer
parent ac30bc3326
commit 3f7f4f34be
1 changed files with 0 additions and 10 deletions

View File

@ -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<R: Read + Seek, F: Fn(&Path) -> Result<(), Error>> {
inner: SequentialDecoder<R, F>,