code: def unixify_path(path):
      r"""On windows convert paths from drive:\d\file to /drive/d/file
  
      This overcomes problems with various cmdline tools we are to use,
      such as tar etc
      """
      if on_windows:
          drive, path_ = os.path.splitdrive(path)
          path_ = path_.split(os.sep)
          path_ = "/".join(path_)
          if drive:
              # last one must be :
              assert drive[-1] == ":"
              return "/%s%s" % (drive[:-1], path_)
          else:
              return path_
      else:
          return path
  
file_path: datalad/datalad/support/archive_utils_patool.py
imports: import patoolib
  from .external_versions import external_versions
  import os
  from .exceptions import MissingExternalDependency
  from .path import basename, join
  from datalad.utils import ensure_bytes, chpwd
  import logging
  import patoolib.util
  from ..support.exceptions import CommandError
  from ..utils import swallow_outputs
  from datalad.cmd import WitlessRunner, StdOutErrCapture
  from ..utils import ensure_unicode
  from ..utils import on_windows
label_desc: Use image node_id 2 for calling a global function with example usage: unixify_path(path) and returns: path, unknown, path_