dir::clean($dir)

Flushes a directory

  • $dir (string)
    The path of the directory
  • return (boolean)
    True: the directory has been flushed, false: flushing failed