pipeline

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 13 Imported by: 3

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 added in v1.14.0

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 added in v1.14.0

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