Module os::fs

source · []
Expand description

File system in os

Modules

inode 🔒

Arc<Inode> -> OSInodeInner: In order to open files concurrently we need to wrap Inode into Arc,but Mutex in Inode prevents file systems from being accessed simultaneously

stdio 🔒

Stdin & Stdout

Structs

A wrapper around a filesystem inode to implement File trait atop

Open file flags

Standard input

Standard output

Traits

File trait

Functions

List all files in the filesystems

Open file with flags