pipeline

package
v1.26.4 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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