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> {
26
26
const FAT16_DIRTY_BIT : u16 = 15 ;
27
27
const FAT32_DIRTY_BIT : u32 = 27 ;
28
28
29
- #[ cfg( test) ]
30
29
pub ( crate ) fn dirty ( & self ) -> bool {
31
30
match self . fat_type {
32
31
FatType :: Fat16 => {
Original file line number Diff line number Diff line change @@ -394,8 +394,9 @@ where
394
394
}
395
395
Ok ( ( ) )
396
396
}
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 > > {
399
400
let mut blocks = [ Block :: new ( ) ] ;
400
401
let fat_table1_start = volume. lba_start + volume. fat_start ;
401
402
self . block_device
You can’t perform that action at this time.
0 commit comments