code: def ensure_crossplat_path(path, winroot='C:'):
      r
      cplat_path = path.replace('\\', '/')
      if cplat_path == winroot:
          cplat_path += '/'
      return cplat_path
docs: r"""
      ensure_crossplat_path
  
      Args:
          path (str):
  
      Returns:
          str: crossplat_path
  
      Example(DOCTEST):
          >>> # ENABLE_DOCTEST
          >>> from utool.util_path import *  # NOQA
          >>> path = r'C:\somedir'
          >>> cplat_path = ensure_crossplat_path(path)
          >>> result = cplat_path
          >>> print(result)
          C:/somedir