gitrepo

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenCurrent

func OpenCurrent(ctx context.Context) (*git.Repository, error)

OpenCurrent opens the current git worktree with object alternates enabled. The caller owns the returned repository and must close it.

func OpenPath

func OpenPath(repoRoot string) (*git.Repository, error)

OpenPath opens a git repository with object alternates enabled. The caller owns the returned repository and must close it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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