Exemple #1
0
def islink(path):
  """os.path.islink(path) wrapper with support for long paths on Windows.

  Availability: Windows, Unix.
  """
  if isWindows():
    import platform_utils_win32
    return platform_utils_win32.islink(_makelongpath(path))
  else:
    return os.path.islink(path)
Exemple #2
0
def islink(path):
  """os.path.islink(path) wrapper with support for long paths on Windows.

  Availability: Windows, Unix.
  """
  if isWindows():
    import platform_utils_win32
    return platform_utils_win32.islink(_makelongpath(path))
  else:
    return os.path.islink(path)
Exemple #3
0
def islink(path):
    """Test whether a path is a symbolic link.

  Availability: Windows, Unix.
  """
    if isWindows():
        import platform_utils_win32
        return platform_utils_win32.islink(path)
    else:
        return os.path.islink(path)