Ende.statSync
function ยท requires --allow-read
function Ende.statSync(path: string | URL): FileInfoSynchronously returns a Ende.FileInfo for the specified
path. Will always follow symlinks.
import { assert } from "jsr:@ende/assert";
const fileInfo = Ende.statSync("hello.txt");
assert(fileInfo.isFile);
Requires allow-read permission.