libvcs.projects.base
#
Base objects / classes for projects.
Adding your own VCS / Extending libvcs can be done through subclassing BaseProject
.
Base class for VCS Project plugins.
- class libvcs.projects.base.BaseProject(*, url, dir, progress_callback=None, **kwargs)[source]#
Base class for repositories.
- Parameters:
url (str) –
dir (libvcs._internal.types.StrPath) –
- bin_name = #
VCS app name, e.g. ‘git’
- ensure_dir(self, *args, **kwargs)[source]#
Assure destination path exists. If not, create directories.
- Return type:
- log_in_real_time#
Log command output to buffer
- schemes = []#
List of supported schemes to register in
urlparse.uses_netloc