Module wasmer_wasix::fs
source · Modules§
- fd π
- fd_list πA very simple data structure for holding the FDs a WASI process is using. Keeps track of the first unused (i.e. freed) FD, which is slightly faster than doing a linear search of the entire array each time. Note, The Unix spec requires newly allocated FDs to always be the lowest-numbered FD available.
- inode_guard π
- notification π
Structs§
- Represents all the EpollInterests that have occurred
- A file that Wasi knows about that may or may not be open
- Warning, modifying these fields directly may cause invariants to break and should be considered unsafe. These fields may be made private in a future release
- WasiInodesProtected π
Enums§
- Guard the cleans up the selector registrations
- The core of the filesystem abstraction. Includes directories, files, and symlinks.
Constants§
- The root inode and stdio inodes are the first inodes in the file system tree
- A completely aribtrary βbig enoughβ number used as the upper limit for the number of symlinks that can be traversed when resolving a path
- STDIN_DEFAULT_RIGHTS π
- the fd value of the virtual root
Functions§
- create_dir_all π
- Returns the default filesystem backing
- merge_filesystems πMerge the contents of one filesystem into another.