protected function DrushFileCache::getFilePath

6.x protected DrushFileCache::getFilePath($cid)
5.x protected DrushFileCache::getFilePath($cid)

Converts a cache id to a full path.


$cid: The cache ID of the data to retrieve.

Return value

The full path to the cache file.

3 calls to DrushFileCache::getFilePath()
DrushFileCache::clear in includes/
Expire data from the cache. If called without arguments, expirable entries will be cleared from all known cache bins.
DrushFileCache::getMultiple in includes/
Return data from the persistent cache when given an array of cache IDs.
DrushFileCache::set in includes/
Store data in the persistent cache.


includes/, line 420
Drush cache API


Default cache implementation.


protected function getFilePath($cid) {
  return $this->directory . '/' . str_replace(array(':'), '.', $cid) . self::EXTENSION;