Help us shape the future of Go! Take the 2026 Go Developer Survey

pipeline

package
v1.27.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlobsFromRevListObjects

func BlobsFromRevListObjects(in io.ReadCloser, out io.WriteCloser) error

BlobsFromRevListObjects reads a RevListAllObjects and only selects blobs

func BlobsLessThan1024FromCatFileBatchCheck

func BlobsLessThan1024FromCatFileBatchCheck(in io.ReadCloser, out io.WriteCloser) error

BlobsLessThan1024FromCatFileBatchCheck reads a pipeline from cat-file --batch-check and returns the blobs <1024 in size

func CatFileBatch

func CatFileBatch(ctx context.Context, cmd *gitcmd.Command, tmpBasePath string) error

CatFileBatch runs cat-file --batch

func CatFileBatchCheck

func CatFileBatchCheck(ctx context.Context, cmd *gitcmd.Command, tmpBasePath string) error

CatFileBatchCheck runs cat-file with --batch-check

func CatFileBatchCheckAllObjects

func CatFileBatchCheckAllObjects(ctx context.Context, cmd *gitcmd.Command, tmpBasePath string) error

CatFileBatchCheckAllObjects runs cat-file with --batch-check --batch-all

func RevListObjects

func RevListObjects(ctx context.Context, cmd *gitcmd.Command, tmpBasePath, headSHA, baseSHA string) error

RevListObjects run rev-list --objects from headSHA to baseSHA

Types

type LFSResult

type LFSResult struct {
	Name           string
	SHA            string
	Summary        string
	When           time.Time
	ParentHashes   []git.ObjectID
	BranchName     string
	FullCommitName string
}

LFSResult represents commits found using a provided pointer file hash

func FindLFSFile

func FindLFSFile(repo *git.Repository, objectID git.ObjectID) (results []*LFSResult, _ error)

FindLFSFile finds commits that contain a provided pointer file hash

Jump to

Keyboard shortcuts

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