lib/overcommit/utils/file_utils.rb
# When the host OS is Windows, uses the `dir` command to check whether
# `file_name` is an NTFS symbolic link. Otherwise delegates to
# `File.symlink`.
When the host OS is Windows, uses the `dir` command to check whether
`file_name` is an NTFS symbolic link.
When the host OS is Windows uses the ` dir ` command to check whether ` file_name ` is an NTFS symbolic link .
def symlink?(file_name)
        return File.symlink?(file_name) unless Overcommit::OS.windows?
        result = win32_dir_cmd(file_name)
        win32_symlink?(result.stdout)
      end
def symlink? ( file_name ) return File . symlink? ( file_name ) unless Overcommit :: OS . windows? result = win32_dir_cmd ( file_name ) win32_symlink? ( result . stdout ) end
When the host OS is Windows, uses the `dir` command to check whether
`file_name` is an NTFS symbolic link.
When the host OS is Windows uses the ` dir ` command to check whether ` file_name ` is an NTFS symbolic link .
file_name
<not_specific>