# File lib/hike/index.rb, line 87 def stat(path) key = path.to_s if @stats.key?(key) @stats[key] else begin @stats[key] = File.stat(path) rescue Errno::ENOENT @stats[key] = nil end end end