[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/diviner/cache/ -> DivinerDiskCache.php (summary)

(no description)

File Size: 42 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  __construct()
  getCache()
  delete()
  getHashKey()

Functions
Functions that are not part of a class:

__construct($cache_directory, $name)   X-Ref
No description

getCache()   X-Ref
No description

delete()   X-Ref
No description

getHashKey($hash)   X-Ref
Convert a long-form hash key like `ccbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaN` into
a shortened directory form, like `cc/bb/aaaaaaaaN`. In conjunction with
@{class:PhutilDirectoryKeyValueCache}, this gives us nice directories
inside .divinercache instead of a million hash files with huge names at
top level.




Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1