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