← All docs
chgrp() — internals
Compiler internals for chgrp(): lowering path, type checks, and runtime helpers.
chgrp() — internals
Where it lives
- Signature:
src/builtins/io/chgrp.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:4474 (lower_chgrp) - Function symbol:
lower_chgrp()
Lowering notes
- Lowers
chgrp(path, group)for integer GIDs and string group names.
Runtime helpers
The following runtime helpers are referenced:
__rt_umask
Signature summary
function chgrp(string $filename, string $group): bool
What the type checker enforces
- Arity: takes exactly 2 arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/chgrp.rs(eval_builtin!) - Dispatch hooks:
direct,values