git

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package git provides a simplified git interface for reading a repository for evaluations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileDiff

type FileDiff struct {
	Name  string
	OldID string
	NewID string
}

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func Open

func Open(dir string) (*Repo, error)

func (*Repo) Close

func (r *Repo) Close()

func (*Repo) DiffTree

func (r *Repo) DiffTree(commit string) ([]FileDiff, error)

func (*Repo) Read

func (r *Repo) Read(blobIDs []string, cb func([]string))

func (*Repo) RevList

func (r *Repo) RevList() ([]string, error)

Jump to

Keyboard shortcuts

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