21 lines
462 B
Python
Raw Normal View History

2025-01-15 10:42:10 +01:00
import abc
class VCSBase(metaclass=abc.ABCMeta):
"""Base class for VCS implementations"""
@abc.abstractmethod
def get_path(self, *_args):
"""Issue a get to a specific path from the repository."""
pass
2025-02-04 15:30:23 +01:00
@abc.abstractmethod
def checkout_package(
self,
target_project: str,
target_package: str,
pathname,
**kwargs
):
"""Checkout a package"""
pass