File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ impl<'a> FatTable<'a> {
2626 const FAT16_DIRTY_BIT : u16 = 15 ;
2727 const FAT32_DIRTY_BIT : u32 = 27 ;
2828
29- #[ cfg( test) ]
3029 pub ( crate ) fn dirty ( & self ) -> bool {
3130 match self . fat_type {
3231 FatType :: Fat16 => {
Original file line number Diff line number Diff line change @@ -394,8 +394,9 @@ where
394394 }
395395 Ok ( ( ) )
396396 }
397- #[ cfg( test) ]
398- fn volume_status_dirty ( & self , volume : & FatVolume ) -> Result < bool , Error < D :: Error > > {
397+
398+ /// Checking if the volume is dirty or was unmounted correctly in a previous usage
399+ pub fn volume_status_dirty ( & self , volume : & FatVolume ) -> Result < bool , Error < D :: Error > > {
399400 let mut blocks = [ Block :: new ( ) ] ;
400401 let fat_table1_start = volume. lba_start + volume. fat_start ;
401402 self . block_device
You can’t perform that action at this time.
0 commit comments