# lib.rs - source
Source of the Rust file `/home/runner/work/rCore-Tutorial-v3/rCore-Tutorial-v3/easy-fs/src/lib.rs`.
Keywords: rust, rustlang, rust-lang

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18

    //!An easy file system isolated from the kernel
    #![no_std]
    #![deny(missing_docs)]
    extern crate alloc;
    mod bitmap;
    mod block_cache;
    mod block_dev;
    mod efs;
    mod layout;
    mod vfs;
    /// Use a block size of 512 bytes
    pub const BLOCK_SZ: usize = 512;
    use bitmap::Bitmap;
    use block_cache::{block_cache_sync_all, get_block_cache};
    pub use block_dev::BlockDevice;
    pub use efs::EasyFileSystem;
    use layout::*;
    pub use vfs::Inode;