oneops-admin/lib/shared/cookbooks/artifact/libraries/chef_artifact.rb
# Returns the value of the readlink method.
# 
# @param  path [String] the path to a symlink
# 
# @return [String] the path that the symlink points to
Returns the value of the readlink method.
Returns the value of the readlink method .
def readlink(path)
        if windows?
          require 'chef/win32/file'
          return Chef::ReservedNames::Win32::File.readlink(path)
        end
        ::File.readlink(path)
      end
def readlink ( path ) if windows? require 'chef/win32/file' return Chef :: ReservedNames :: Win32 :: File . readlink ( path ) end :: File . readlink ( path ) end
Returns the value of the readlink method.
Returns the value of the readlink method .
the path that the symlink points to
the path that the symlink points to
String
path
the path to a symlink
the path to a symlink