Skip to main content

Module vcs

Module vcs 

Source
Expand description

VCS abstraction layer (see ADR-010, ADR-017). All version control operations go through the Vcs trait. Currently only Git is implemented, via CLI process calls.

Structs§

GitVcs
Git implementation of the VCS trait.
GitVersion
Parsed git version.

Enums§

Forge
Hosting platform type, detected from git remote URL.

Traits§

Vcs
VCS read operations that Joy needs.

Functions§

default_vcs
Default VCS provider. Returns the Git implementation.
gh_create_release
Create a GitHub release using the gh CLI.
gh_version
Check if the GitHub CLI (gh) is installed and return its version.
has_gh
Check if gh CLI is available (returns false if not installed).
parse_forge_from_url
Parse forge type from a git remote URL.