コード例 #1
0
 /**
  *  Returns the total free space on the partition where this directory lives
  *
  *	@param $format	 (Optional) Boolean that defines if free space should be returned as bytes or formated
  *	@param $decimals (Optional) Decimals to use when free space is formated
  *
  *	@returns	The number of bytes available
  *
  *	@static
  */
 function getFreeSpace($format = false, $decimals = 1)
 {
     return YDPath::getFreeSpace($this->_path, $format, $decimals);
 }