# File lib/puppet/file_serving/fileset.rb, line 160 160: def stat(path) 161: unless defined?(@stat_method) 162: @stat_method = self.links == :manage ? :lstat : :stat 163: end 164: 165: begin 166: return File.send(@stat_method, path) 167: rescue 168: # If this happens, it is almost surely because we're 169: # trying to manage a link to a file that does not exist. 170: return nil 171: end 172: end