← All docs

disk_total_space() — internals

Compiler internals for disk_total_space(): lowering path, type checks, and runtime helpers.

disk_total_space() — internals

Where it lives

Lowering notes

  • Lowers disk_total_space(path) through the shared disk-space runtime helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_disk_space

Signature summary

function disk_total_space(string $directory): float

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references