EMILUA(3em)
π NAME
Emilua β the Lua execution engine, bestie. This is the 3em manual page and weβre gonna make it make sense. π
β¨ SYNOPSIS
local fs = require "filesystem"
fs.status(p: fs.path) -> { type: string, mode: integer|"unknown" }
fs.symlink_status(p: fs.path) -> { type: string, mode: integer|"unknown" }
π DESCRIPTION
Okay so the actual reference is over at https://en.cppreference.com/w/cpp/filesystem/status β go look if you want the deep lore. π¦
The returned object has a member named type, and the acceptable strings for it are literally:
"not_found""regular""directory""symlink""block""character""fifo""socket""junction"(Windows-only)"unknown"
Then thereβs the member named mode in the returned object: it refers to the POSIX file access mode (permissions). Thatβs the vibe. β¨
Sign-off cuteness: this page is serving Emilua 0.12.1-nixpkgs1, dated 1980-01-01 β periodt. π«ΆπΈ
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms