Method: Puppet::FileSystem::Windows#lstat

Defined in:
lib/puppet/file_system/windows.rb

#lstat(path) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



100
101
102
103
104
105
# File 'lib/puppet/file_system/windows.rb', line 100

def lstat(path)
  if ! Puppet.features.manages_symlinks?
    return Puppet::Util::Windows::File.stat(path)
  end
  Puppet::Util::Windows::File.lstat(path)
end