gitrepo

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(ctx context.Context, root string, ref string) (string, func(), error)

Archive extracts ref into a temporary directory without changing the worktree.

func Numstat

func Numstat(ctx context.Context, root string, since string, until string) ([]byte, error)

Numstat returns git log --numstat output for the repository containing root.

func Root

func Root(ctx context.Context, root string) (string, error)

Root returns the top-level directory for the Git repository containing root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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