pub fn path_filestat_get_old<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    fd: Fd,
    flags: LookupFlags,
    path: WasmPtr<u8, M>,
    path_len: M::Offset,
    buf: WasmPtr<Snapshot0Filestat, M>,
) -> Errno
Expand description

§path_filestat_get_old()

Access metadata about a file or directory Inputs:

  • Fd fd The directory that path is relative to
  • LookupFlags flags Flags to control how path is understood
  • const char *path String containing the file path
  • u32 path_len The length of the path string Output:
  • __wasi_file_stat_t *buf The location where the metadata will be stored