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:
		
				
					committed by
					
						
						Dietmar Maurer
					
				
			
			
				
	
			
			
			
						parent
						
							ac30bc3326
						
					
				
				
					commit
					3f7f4f34be
				
			@ -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>,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user