GitOps.Git (Git Ops v2.7.0)

View Source

Helper functions for working with Git and fetching the tags/commits we care about.

Summary

Functions

add!(repo, args)

@spec add!(Git.Repository.t(), [String.t()]) :: String.t()

commit!(repo, args)

@spec commit!(Git.Repository.t(), [String.t()]) :: String.t()

commit_messages_since_tag(repo, tag)

@spec commit_messages_since_tag(Git.Repository.t(), String.t()) :: [String.t()]

get_initial_commits!(repo)

@spec get_initial_commits!(Git.Repository.t()) :: [String.t()]

hooks_path(repo)

@spec hooks_path(Git.Repository.t()) :: String.t() | no_return()

init!(repo_path)

@spec init!(String.t()) :: Git.Repository.t()

tag!(repo, current_version)

@spec tag!(Git.Repository.t(), String.t() | [String.t()]) :: String.t()

tags(repo)

@spec tags(Git.Repository.t()) :: [String.t()]