yggdrasil/lib/vfs/src/lib.rs

32 lines
887 B
Rust
Raw Normal View History

//! Virtual filesystem interfaces and driver implementation
2023-12-02 20:28:43 +02:00
#![cfg_attr(not(test), no_std)]
2023-12-26 22:24:38 +02:00
#![allow(clippy::new_ret_no_self, clippy::new_without_default)]
#![deny(missing_docs)]
2023-12-10 20:54:15 +02:00
#![feature(if_let_guard, maybe_uninit_slice, trait_alias, let_chains)]
2023-12-02 20:28:43 +02:00
#[cfg(test)]
extern crate hosted_tests;
extern crate alloc;
pub(crate) mod channel;
2023-12-02 20:28:43 +02:00
pub(crate) mod device;
pub(crate) mod file;
2023-12-03 14:52:42 +02:00
pub(crate) mod ioctx;
2023-12-02 20:28:43 +02:00
pub(crate) mod node;
2023-12-03 14:52:42 +02:00
pub(crate) mod path;
2023-12-22 11:24:47 +02:00
pub(crate) mod poll;
2023-12-02 20:28:43 +02:00
pub(crate) mod traits;
2023-12-31 01:53:43 +02:00
pub use channel::MessagePayload;
pub use device::CharDevice;
2023-12-22 11:24:47 +02:00
pub use file::{DirectoryOpenPosition, File, FileRef, FileSet, InstanceData};
pub use ioctx::{Action, IoContext};
pub use node::{
impls, AccessToken, CommonImpl, CreateInfo, DirectoryImpl, Metadata, Node, NodeFlags, NodeRef,
RegularImpl, SymlinkImpl,
};
2023-12-22 11:24:47 +02:00
pub use poll::FdPoll;
pub use traits::{FileReadiness, Read, Seek, Write};