Skip to content

Commit 94dd6b9

Browse files
committed
delete myfs
1 parent 5881075 commit 94dd6b9

File tree

6 files changed

+0
-32
lines changed

6 files changed

+0
-32
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/axfs/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ license.workspace = true
66
version.workspace = true
77

88
[features]
9-
myfs = ["dep:crate_interface"]
109
use-ramdisk = []
1110

1211
[dependencies]
@@ -21,7 +20,6 @@ axns = {workspace = true}
2120
axsync = {workspace = true}
2221
cap_access = "0.1"
2322
cfg-if = "1.0"
24-
crate_interface = {version = "0.1", optional = true}
2523
lazyinit = "0.2"
2624
log = "0.4"
2725
lwext4_rust = {git = "https://github.com/Josen-B/lwext4_rust.git"}

modules/axfs/src/fops.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ use axio::SeekFrom;
66
use cap_access::{Cap, WithCap};
77
use core::fmt;
88

9-
#[cfg(feature = "myfs")]
10-
pub use crate::dev::Disk;
11-
#[cfg(feature = "myfs")]
12-
pub use crate::fs::myfs::MyFileSystemIf;
13-
149
/// Alias of [`axfs_vfs::VfsNodeType`].
1510
pub type FileType = axfs_vfs::VfsNodeType;
1611
/// Alias of [`axfs_vfs::VfsDirEntry`].

modules/axfs/src/fs/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
pub mod ext4fs;
22
pub mod fatfs;
33

4-
#[cfg(feature = "myfs")]
5-
pub mod myfs;
6-
74
pub use axfs_devfs as devfs;
85
pub use axfs_ramfs as ramfs;

modules/axfs/src/fs/myfs.rs

Lines changed: 0 additions & 16 deletions
This file was deleted.

modules/axfs/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
//! **enabled** by default.
1111
//! - `ramfs`: Mount [`axfs_ramfs::RamFileSystem`] on `/tmp`. This feature is
1212
//! **enabled** by default.
13-
//! - `myfs`: Allow users to define their custom filesystems to override the
14-
//! default. In this case, [`MyFileSystemIf`] is required to be implemented
15-
//! to create and initialize other filesystems. This feature is **disabled** by
16-
//! by default, but it will override other filesystem selection features if
17-
//! both are enabled.
1813
//!
1914
//! [FAT]: https://en.wikipedia.org/wiki/File_Allocation_Table
2015
//! [`MyFileSystemIf`]: fops::MyFileSystemIf

0 commit comments

Comments
 (0)