Sync - libvcs.sync#

Compare to: fabtools.require.git, salt.projects.git, ansible.builtin.git

Warning

All APIs are considered experimental and subject to break pre-1.0. They can and will break between versions.

Constants#

libvcs.sync.constants.DEFAULT_VCS_LITERAL#

Default VCS systems by string (in DEFAULT_VCS_CLASS_MAP)

alias of Literal[โ€˜gitโ€™, โ€˜hgโ€™, โ€˜svnโ€™]

libvcs.sync.constants.DEFAULT_VCS_CLASS_UNION#

Union of VCS Classes

libvcs.sync.constants.DEFAULT_VCS_CLASS_MAP: dict[Literal['git', 'hg', 'svn'], type[Union[libvcs.sync.git.GitSync, libvcs.sync.hg.HgSync, libvcs.sync.svn.SvnSync]]] = {'git': <class 'libvcs.sync.git.GitSync'>, 'hg': <class 'libvcs.sync.hg.HgSync'>, 'svn': <class 'libvcs.sync.svn.SvnSync'>}#

str -> class Map. DEFAULT_VCS_CLASS_MAP['git'] -> GitSync