Struct hermit::fs::Filesystem [−][src]
pub struct Filesystem { /* fields omitted */ }
Implementations
impl Filesystem
[src]
impl Filesystem
[src]pub const fn new() -> Self
[src]
pub fn open(&mut self, path: &str, perms: FilePerms) -> Result<u64, FileError>
[src]
pub fn open(&mut self, path: &str, perms: FilePerms) -> Result<u64, FileError>
[src]Tries to open file at given path (/MOUNTPOINT/internal-path). Looks up MOUNTPOINT in mounted dirs, passes internal-path to filesystem backend Returns the file descriptor of the newly opened file, or an error on failure