class Sprockets::Cache::FileStore

def initialize(root, max_size = DEFAULT_MAX_SIZE, logger = self.class.default_logger)

(default: 1000).
max_size - A Integer of the maximum number of keys the store will hold.
root - A String path to a directory to persist cached values to.

Public: Initialize the cache store.
def initialize(root, max_size = DEFAULT_MAX_SIZE, logger = self.class.default_logger)
  @root     = root
  @size     = find_caches.inject(0) { |n, (_, stat)| n + stat.size }
  @max_size = max_size
  @gc_size  = max_size * 0.75
  @logger   = logger
end