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Β§
- EpollFd
- Epoll
Interest - Represents all the EpollInterests that have occurred
- Epoll
Join Guard - Guard the cleans up the selector registrations
- Fallback
File System - Fd
- FdInner
- Inode
- Inode
Guard - Inode
Val - A file that Wasi knows about that may or may not be open
- Inode
Weak Guard - Notification
Inner - WasiFs
- 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
- Wasi
Inodes - Wasi
Inodes πProtected
EnumsΒ§
- Kind
- The core of the filesystem abstraction. Includes directories, files, and symlinks.
- Wasi
FsRoot
ConstantsΒ§
- FS_
ROOT_ INO - FS_
STDERR_ INO - FS_
STDIN_ INO - The root inode and stdio inodes are the first inodes in the file system tree
- FS_
STDOUT_ INO - MAX_
SYMLINKS - A completely aribtrary βbig enoughβ number used as the upper limit for the number of symlinks that can be traversed when resolving a path
- STDERR_
DEFAULT_ πRIGHTS - STDIN_
DEFAULT_ πRIGHTS - STDOUT_
DEFAULT_ πRIGHTS - VIRTUAL_
ROOT_ FD - the fd value of the virtual root
FunctionsΒ§
- create_
dir_ πall - default_
fs_ backing - Returns the default filesystem backing
- fs_
error_ from_ wasi_ err - fs_
error_ into_ wasi_ err - merge_
filesystems π - Merge the contents of one filesystem into another.
- virtual_
file_ type_ to_ wasi_ file_ type