dir::clean

Flushes a directory

dir::clean($dir)

Parameters

$dir (string)
The path of the directory

Return values

boolean
True: the directory has been flushed, false: flushing failed