howfairis.repo module¶
-
class
howfairis.repo.Repo(url: str, branch: Optional[str] = None, path: Optional[str] = None)¶ Bases:
objectRepresentation of a source code repository.
- Parameters
url – URL of a code repository such as https://github.com/fair-software/howfairis
branch – Branch to checkout. Defaults to default branch of the repository. Can also be a commit SHA-1 hash or tag.
path – Path inside repository. Defaults to root.
-
branch¶ Branch to checkout. If None then
Repo.default_branchwill be used.
-
platform¶ Detected code repository platform of repo.