class Opal::Hike::Index
def stat(path)
A cached version of `File.stat`. Returns nil if the file does
def stat(path) key = path.to_s if @stats.key?(key) @stats[key] elsif File.exist?(path) @stats[key] = File.stat(path) else @stats[key] = nil end end