dir::niceSize($dir)

Returns a nicely formatted size of all the contents of the folder

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