function DrushFileCache::cacheDirectory

6.x cache.inc DrushFileCache::cacheDirectory($bin = NULL)
5.x cache.inc DrushFileCache::cacheDirectory($bin = NULL)
2 calls to DrushFileCache::cacheDirectory()
DrushFileCache::clear in includes/cache.inc
Expire data from the cache. If called without arguments, expirable entries will be cleared from all known cache bins.
DrushFileCache::__construct in includes/cache.inc
Constructor.

File

includes/cache.inc, line 313
Drush cache API

Class

DrushFileCache
Default cache implementation.

Code

function cacheDirectory($bin = NULL) {
  $bin = $bin ? $bin : $this->bin;
  return drush_directory_cache($bin);
}