Function wasi::path_filestat_get
source · [−]Expand description
Return the attributes of a file or directory.
Note: This is similar to stat
in POSIX.
Parameters
flags
- Flags determining the method of how the path is resolved.path
- The path of the file or directory to inspect.
Return
The buffer where the file’s attributes are stored.