disk_total_space()
function disk_total_space(string $directory): mixed
Returns the total size of a filesystem or disk partition.
Parameters:
$directory(string)
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
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.