(cls, repo)
return repo.startswith(os.path.sep) or bool(drive)
posix absolute paths start with os.path.sep,
           win32 ones start with drive (like c:\\folder)
posix absolute paths start with os.path.sep,
           win32 ones start with drive (like c:\\folder)
posix absolute paths start with os . path . sep win32 ones start with drive ( like c : \\ folder )
def _is_local_repository(cls, repo):
        # type: (str) -> bool
        """
           posix absolute paths start with os.path.sep,
           win32 ones start with drive (like c:\\folder)
        """
        drive, tail = os.path.splitdrive(repo)
        return repo.startswith(os.path.sep) or bool(drive)
def _is_local_repository ( cls , repo ) : # type: (str) -> bool drive , tail = os . path . splitdrive ( repo ) return repo . startswith ( os . path . sep ) or bool ( drive )