pub fn find_directory_entry(
        &mut self,
        volume: &Volume,
        dir: &Directory,
        name: &str,
    ) -> Result<DirEntry, Error<D::Error>> {
        match &volume.volume_type {
            VolumeType::Fat16(fat) => fat.find_directory_entry(self, dir, name),
            VolumeType::Fat32(fat) => fat.find_directory_entry(self, dir, name),
        }
    }
/// Look in a directory for a named file.
Look in a directory for a named file.
Look in a directory for a named file .
pub fn find_directory_entry(
        &mut self,
        volume: &Volume,
        dir: &Directory,
        name: &str,
    ) -> Result<DirEntry, Error<D::Error>> {
        match &volume.volume_type {
            VolumeType::Fat16(fat) => fat.find_directory_entry(self, dir, name),
            VolumeType::Fat32(fat) => fat.find_directory_entry(self, dir, name),
        }
    }
pub fn find_directory_entry ( & mut self , volume : & Volume , dir : & Directory , name : & str , ) -> Result < DirEntry , Error < D :: Error > > { match & volume . volume_type { VolumeType :: Fat16 ( fat ) => fat . find_directory_entry ( self , dir , name ) , VolumeType :: Fat32 ( fat ) => fat . find_directory_entry ( self , dir , name ) , } }
Look in a directory for a named file.
Look in a directory for a named file .
&mut self
volume
&Volume
dir
&Directory
name
&str
&mut self
volume
&Volume
dir
&Directory
name
&str