class DeviceBlock
Defined at line 21 of file ../../src/storage/minfs/block_utils.h
Represents a block on a device. The block should be relative to the start of the device, and the
block size is that used by the file system. The block can also be unmapped a.k.a. sparse. Files
that are unmapped blocks are zeroed; they occupy no space on the disk, but the user sees zeroed
data.
Public Methods
DeviceBlock Unmapped ()
Defined at line 23 of file ../../src/storage/minfs/block_utils.h
void DeviceBlock ()
Defined at line 25 of file ../../src/storage/minfs/block_utils.h
void DeviceBlock (uint64_t block)
Defined at line 26 of file ../../src/storage/minfs/block_utils.h
void DeviceBlock (const DeviceBlock & other)
Defined at line 28 of file ../../src/storage/minfs/block_utils.h
DeviceBlock & operator= (const DeviceBlock & other)
Defined at line 29 of file ../../src/storage/minfs/block_utils.h
bool IsMapped ()
Defined at line 31 of file ../../src/storage/minfs/block_utils.h
uint64_t block ()
Defined at line 32 of file ../../src/storage/minfs/block_utils.h
bool operator== (const DeviceBlock & other)
Defined at line 37 of file ../../src/storage/minfs/block_utils.h
bool operator!= (const DeviceBlock & other)
Defined at line 38 of file ../../src/storage/minfs/block_utils.h