disk_total_space()
function disk_total_space(string $directory): float
Returns the total size of a filesystem or disk partition.
Parameters:
$directory(string)
Returns: float
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how disk_total_space is implemented in the compiler, see the internals page.