# File lib/puppet/util/autoload/file_cache.rb, line 38 38: def file_exist?(path) 39: cache = cached_data?(path) 40: return cache unless cache.nil? 41: 42: protect(path) do 43: stat = File.lstat(path) 44: found_file(path, stat) 45: return true 46: end 47: end