Documentation
¶
Overview ¶
Package git is the Stage-1 namespace for git-related types and functions in package engine. See ../REFACTOR_PLAN.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatIssues ¶
FormatIssues renders a slice of issues for terminal display.
func FormatPRs ¶
func FormatPRs(prs []PullRequest) string
FormatPRs renders a slice of pull requests for terminal display.
Types ¶
type CommitInfo ¶
type CommitInfo = engine.CommitInfo
CommitInfo describes a single commit (SHA, author, message, etc.).
type Context ¶
type Context = engine.GitContext
Context wraps a local git repo and exposes file/commit/blame queries.
func NewContext ¶
NewContext returns a git Context bound to the given working directory.
type FileInfo ¶
type FileInfo = engine.GitFileInfo
FileInfo summarises a tracked file's git metadata.
type Provider ¶
type Provider = engine.GitProvider
Provider talks to a remote forge (GitHub, GitLab, ...) for issues, PRs, CI.
func NewProvider ¶
NewProvider returns a forge provider client.
Click to show internal directories.
Click to hide internal directories.