git

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2026 License: MIT Imports: 1 Imported by: 0

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

func FormatIssues(issues []Issue) string

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 BlameLine

type BlameLine = engine.BlameLine

BlameLine is one line of git blame output.

type CICheck

type CICheck = engine.CICheck

CICheck is a single check within a CIStatus.

type CIStatus

type CIStatus = engine.CIStatus

CIStatus is the aggregated CI state for a PR or commit.

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

func NewContext(repoDir string) *Context

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 Issue

type Issue = engine.GitIssue

Issue is a remote-forge issue record.

type Provider

type Provider = engine.GitProvider

Provider talks to a remote forge (GitHub, GitLab, ...) for issues, PRs, CI.

func NewProvider

func NewProvider(providerType, token, owner, repo string) *Provider

NewProvider returns a forge provider client.

type PullRequest

type PullRequest = engine.PullRequest

PullRequest is a remote-forge PR record.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL