ext2/lib.rs
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
10mod arena;
11mod bitmap;
12mod blockgroup;
13mod builder;
14mod fs;
15mod inode;
16mod superblock;
17mod xattr;
18
19pub use blockgroup::BLOCK_SIZE;
20pub use builder::Builder;
21pub use xattr::dump_xattrs;
22pub use xattr::set_xattr;