module WindowsSymlink
Public Class Methods
is_implemented()
click to toggle source
# File lib/puppet/feature/base.rb 60 def self.is_implemented 61 begin 62 ffi_lib :kernel32 63 attach_function :CreateSymbolicLinkW, [:lpwstr, :lpwstr, :dword], :boolean 64 65 true 66 rescue LoadError 67 Puppet.debug { "CreateSymbolicLink is not available" } 68 false 69 end 70 end