xref: /aosp_15_r20/external/crosvm/ext2/src/lib.rs (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1 // Copyright 2024 The ChromiumOS Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 //! This crate provides a logic for creating an ext2 filesystem on memory.
6 
7 #![cfg(any(target_os = "android", target_os = "linux"))]
8 #![deny(missing_docs)]
9 
10 mod arena;
11 mod bitmap;
12 mod blockgroup;
13 mod builder;
14 mod fs;
15 mod inode;
16 mod superblock;
17 mod xattr;
18 
19 pub use blockgroup::BLOCK_SIZE;
20 pub use builder::Builder;
21 pub use xattr::dump_xattrs;
22 pub use xattr::set_xattr;
23