internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0

Directories

Path Synopsis
Package cleanup decides, for each linked worktree of a repository, whether it can be removed, and removes it when asked to.
Package cleanup decides, for each linked worktree of a repository, whether it can be removed, and removes it when asked to.
cleanupfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Package cli builds the worktree-cleanup command tree.
Package cli builds the worktree-cleanup command tree.
Package forge defines the forge-neutral vocabulary shared by the GitHub and GitLab clients and the cleanup engine: which project a remote names, and which pull or merge requests a commit belongs to.
Package forge defines the forge-neutral vocabulary shared by the GitHub and GitLab clients and the cleanup engine: which project a remote names, and which pull or merge requests a commit belongs to.
github
Package github answers the cleanup engine's forge questions against the GitHub REST API: whether a project exists, its default branch, which pull requests contain a commit, and whether one commit contains another.
Package github answers the cleanup engine's forge questions against the GitHub REST API: whether a project exists, its default branch, which pull requests contain a commit, and whether one commit contains another.
gitlab
Package gitlab answers the cleanup engine's forge questions — does a project exist, which merge requests contain a commit, does one commit contain another — against the GitLab REST API, with credentials taken from the environment or glab's config file.
Package gitlab answers the cleanup engine's forge questions — does a project exist, which merge requests contain a commit, does one commit contain another — against the GitLab REST API, with credentials taken from the environment or glab's config file.
Package gitrepo drives the git binary to list a repository's worktrees, inspect a worktree for anything its removal would lose, and remove worktrees and branches.
Package gitrepo drives the git binary to list a repository's worktrees, inspect a worktree for anything its removal would lose, and remove worktrees and branches.
Package remote turns git remote URLs into forge projects.
Package remote turns git remote URLs into forge projects.
Package version reports what the toolchain stamped into the binary.
Package version reports what the toolchain stamped into the binary.

Jump to

Keyboard shortcuts

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