function DrushFileCache::writeFile

6.x cache.inc DrushFileCache::writeFile($filename, $cache)
5.x cache.inc DrushFileCache::writeFile($filename, $cache)
1 call to DrushFileCache::writeFile()
DrushFileCache::set in includes/cache.inc
Store data in the persistent cache.
1 method overrides DrushFileCache::writeFile()

File

includes/cache.inc, line 376
Drush cache API

Class

DrushFileCache
Default cache implementation.

Code

function writeFile($filename, $cache) {
  return file_put_contents($filename, serialize($cache));
}