← All docs
disk_free_space() — internals
Compiler internals for disk_free_space(): lowering path, type checks, and runtime helpers.
disk_free_space() — internals
Where it lives
- Signature:
src/builtins/io/disk_free_space.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:3366 (lower_disk_free_space) - Function symbol:
lower_disk_free_space()
Lowering notes
- Lowers
disk_free_space(path)through the shared disk-space runtime helper.
Runtime helpers
The following runtime helpers are referenced:
__rt_disk_space
Signature summary
function disk_free_space(string $directory): float
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/disk_free_space.rs(eval_builtin!) - Dispatch hooks:
direct,values