diff options
author | Chuyan Zhang <me@zcy.moe> | 2023-11-30 12:01:11 -0800 |
---|---|---|
committer | Chuyan Zhang <me@zcy.moe> | 2023-11-30 12:01:11 -0800 |
commit | fd125947c9db0b33761414e65e919f73d9bf1815 (patch) | |
tree | c4c66d95ba85601427928aa7f23659590055d464 /mkfs.aya/src/block_device.rs | |
parent | 1eac97eea4ec0bcef0be061a2cba93a584355283 (diff) | |
download | myfs-fd125947c9db0b33761414e65e919f73d9bf1815.tar.gz myfs-fd125947c9db0b33761414e65e919f73d9bf1815.zip |
Refactor workspace
Diffstat (limited to 'mkfs.aya/src/block_device.rs')
-rw-r--r-- | mkfs.aya/src/block_device.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mkfs.aya/src/block_device.rs b/mkfs.aya/src/block_device.rs deleted file mode 100644 index 295b357..0000000 --- a/mkfs.aya/src/block_device.rs +++ /dev/null @@ -1,5 +0,0 @@ -pub(crate) const BLOCK_SIZE: usize = 4096; -pub(crate) trait BlockDevice { - fn read(&self, block_id: usize, buffer: &mut [u8]); - fn write(&self, block_id: usize, buffer: &[u8]); -}
\ No newline at end of file |