Method: Puppet::FileServing::Metadata#collect_stat

Defined in:
lib/puppet/file_serving/metadata.rb

#collect_stat(path) ⇒ Object



88
89
90
91
92
93
94
95
96
# File 'lib/puppet/file_serving/metadata.rb', line 88

def collect_stat(path)
  stat = stat()

  if Puppet::Util::Platform.windows?
    WindowsStat.new(stat, path, @source_permissions)
  else
    MetaStat.new(stat, @source_permissions)
  end
end