# File lib/puppet/type/tidy.rb, line 317 317: def stat(path) 318: begin 319: File.lstat(path) 320: rescue Errno::ENOENT => error 321: info "File does not exist" 322: return nil 323: rescue Errno::EACCES => error 324: warning "Could not stat; permission denied" 325: return nil 326: end 327: end