Method: dir::size
Gets the size of the directory and all subfolders and files
Info
Syntax
dir::size($path, $recursive=true, $nice=false)
Parameters
- $dir (string) The path of the directory
- $recursive (boolean)
- $nice (boolean) returns the size in a human readable size