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