16 lines
344 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"""
@property
@abc.abstractmethod
def name(self) -> str:
"""Get the name of VCS"""
pass
@abc.abstractmethod
def get_path(self, *_args):
"""Issue a get to a specific path from the repository."""
pass