Unclassified NewsBoard Code Reference

get_dir_size function

Calculate the entire recursive directory size on the disk

function get_dir_size ($mycwd = '');

Parameters:

mycwd  –  optional, default: ''
(string) directory name to scan

Return value:

(int) size

Implementation file: unb_lib/stat.inc.php, line 61

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.