← All docs
fileowner() — internals
Compiler internals for fileowner(): lowering path, type checks, and runtime helpers.
fileowner() — internals
Where it lives
- Signature:
src/builtins/io/fileowner.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:5488 (lower_fileowner) - Function symbol:
lower_fileowner()
Lowering notes
- Lowers
fileowner(path)and boxes the runtime integer-or-false result.
Runtime helpers
The following runtime helpers are referenced:
__rt_filegroup__rt_fileinode__rt_fileowner
Signature summary
function fileowner(string $filename): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/fileowner.rs(eval_builtin!) - Dispatch hooks:
direct,values