Method: Puppet::FileServing::Base#stat
- Defined in:
- lib/vendor/puppet/file_serving/base.rb
#stat ⇒ Object
Stat our file, using the appropriate link-sensitive method.
66 67 68 69 |
# File 'lib/vendor/puppet/file_serving/base.rb', line 66 def stat @stat_method ||= self.links == :manage ? :lstat : :stat File.send(@stat_method, full_path) end |