reuse.vcs module¶
This module deals with version control systems.
- class reuse.vcs.VCSStrategy(root: str | PathLike[str])[source]¶
Bases:
ABC
Strategy pattern for version control systems.
- class reuse.vcs.VCSStrategyNone(root: str | PathLike[str])[source]¶
Bases:
VCSStrategy
Strategy that is used when there is no VCS.
- class reuse.vcs.VCSStrategyGit(root: str | PathLike[str])[source]¶
Bases:
VCSStrategy
Strategy that is used for Git.
- class reuse.vcs.VCSStrategyHg(root: str | PathLike[str])[source]¶
Bases:
VCSStrategy
Strategy that is used for Mercurial.
- class reuse.vcs.VCSStrategyJujutsu(root: str | PathLike[str])[source]¶
Bases:
VCSStrategy
Strategy that is used for Jujutsu.
- class reuse.vcs.VCSStrategyPijul(root: str | PathLike[str])[source]¶
Bases:
VCSStrategy
Strategy that is used for Pijul.