Returns metadata for a file inside the directory.
On Windows, this requires three syscalls. On other operating systems, it only takes one.
Symlinks are followed.
sub_path may be absolute, in which case self is ignored.
sub_path should be encoded as WTF-8.sub_path should be encoded as valid UTF-8.sub_path is an opaque sequence of bytes with no particular encoding.pub fn statFile(dir: Dir, io: Io, sub_path: []const u8, options: StatFileOptions) StatFileError!Stat
pub fn statFile(dir: Dir, io: Io, sub_path: []const u8, options: StatFileOptions) StatFileError!Stat {
return io.vtable.dirStatFile(io.userdata, dir, sub_path, options);
}