From 886df6daf6bb6b922276157dba1cc099e897a9ea Mon Sep 17 00:00:00 2001 From: Chuyan Zhang Date: Sat, 18 Nov 2023 02:43:01 -0800 Subject: Major refactor of file hierarchy --- src/block_device/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/block_device') diff --git a/src/block_device/mod.rs b/src/block_device/mod.rs index 9d52e53..c7e1362 100644 --- a/src/block_device/mod.rs +++ b/src/block_device/mod.rs @@ -1,5 +1,7 @@ -pub mod memory_disk; +/// Abstracts for block devices. +/// Currently only a mock memory disk. +pub mod memory_disk; pub const BLOCK_SIZE: usize = 4096; pub trait BlockDevice { fn read(&self, block_id: usize, buffer: &mut [u8]); -- cgit v1.2.3-70-g09d2