HomeCache

class OC\Files\Cache\HomeCache
Source:lib/private/Files/Cache/HomeCache.php#34
Parent:OC\Files\Cache\Cache

Methods

public OC\Files\Cache\HomeCache::calculateFolderSize($path, $entry=null)
get the size of a folder and set it in the cache
Source:

lib/private/Files/Cache/HomeCache.php#42

Parameters:
  • $path (string)
  • $entry (array) (optional) meta data of the folder
Returns:

int

public OC\Files\Cache\HomeCache::get($path)
Source:

lib/private/Files/Cache/HomeCache.php#85

Parameters:
  • $path (string)
Returns:

\OCP\Files\Cache\ICacheEntry