/** * get the size of a folder and set it in the cache * * @param string $path * @param array $entry (optional) meta data of the folder * @return int */ public function calculateFolderSize($path, $entry = null) { if ($this->cache instanceof Cache) { return $this->cache->calculateFolderSize($path, $entry); } else { return 0; } }
/** * get the size of a folder and set it in the cache * * @param string $path * @param array $entry (optional) meta data of the folder * @return int */ public function calculateFolderSize($path, $entry = null) { return $this->cache->calculateFolderSize($path, $entry); }