Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
dir::size($dir)
Gets the size of the directory and all subfolders and files
$dir
(string)
The path of the directory
return
(mixed)
↑
Toolkit API overview
←
dir::remove
→
dir::wasModifiedAfter
↓
Back to Toolkit API section
Top