pub fn path_filestat_get<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
flags: LookupFlags,
path: WasmPtr<u8, M>,
path_len: M::Offset,
buf: WasmPtr<Filestat, M>,
) -> ErrnoExpand description
ยงpath_filestat_get()
Access metadata about a file or directory Inputs:
Fd fdThe directory thatpathis relative toLookupFlags flagsFlags to control howpathis understoodconst char *pathString containing the file pathu32 path_lenThe length of thepathstring Output:__wasi_file_stat_t *bufThe location where the metadata will be stored