dir::size($dir)

Gets the size of the directory and all subfolders and files

  • $dir (string)
    The path of the directory
  • return (mixed)