class Jekyll::Regenerator

def add(path)

Returns true, also on failure.

Add a path to the metadata
def add(path)
  return true unless File.exist?(path)
  metadata[path] = {
    "mtime" => File.mtime(path),
    "deps"  => [],
  }
  cache[path] = true
end