basic virtual file system
continuous-integration/drone/push Build is passing

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2022-12-23 20:02:49 +01:00
1 parent 8518982932
commit b2ffbc34b5
3 files changed
+33 -3

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ pub struct IsoFS {
#[async_trait(?Send)]
impl FileSystem for IsoFS {
async fn open(path: &str, flags: u32) -> Option<FDt> {
async fn open(&mut self, path: &str, flags: u32) -> Option<FDt> {
if flags != crate::syscalls::io::O_RDONLY {
return None;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.