❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
dir::clean($dir)
Flushes a directory
$dir
(string)
The path of the directory
return
(boolean)
True: the directory has been flushed, false: flushing failed
↑
Toolkit API overview
→
dir::copy
↓
Back to Toolkit API section
Top