/// Removes and returns a File.
///
/// # Panics
///
/// This function will panic if file `file_id` has already been removed.
Removes and returns a File.
Removes and returns a File .
pub fn file(&self, file_id: &u32) -> CacheResult<Bytes> {
        self.files
            .get(file_id)
            .ok_or_else(|| CacheError::FileNotFoundError(self.index_id(), self.archive_id(), *file_id))
            .cloned()
    }
pub fn file ( & self , file_id : & u32 ) -> CacheResult < Bytes > { self . files . get ( file_id ) . ok_or_else ( | | CacheError :: FileNotFoundError ( self . index_id ( ) , self . archive_id ( ) , * file_id ) ) . cloned ( ) }
Removes and returns a File.
Removes and returns a File .
&self
file_id
&u32
panics
This function will panic if file `file_id` has already been removed.
This function will panic if file ` file_id ` has already been removed .