Documentation
¶
Index ¶
- func BlobsFromRevListObjects(in io.ReadCloser, out io.WriteCloser) error
- func BlobsLessThan1024FromCatFileBatchCheck(in io.ReadCloser, out io.WriteCloser) error
- func CatFileBatch(ctx context.Context, cmd *gitcmd.Command, tmpBasePath string) error
- func CatFileBatchCheck(ctx context.Context, cmd *gitcmd.Command, tmpBasePath string) error
- func CatFileBatchCheckAllObjects(ctx context.Context, cmd *gitcmd.Command, tmpBasePath string) error
- func RevListObjects(ctx context.Context, cmd *gitcmd.Command, tmpBasePath, headSHA, baseSHA string) error
- type LFSResult
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 ¶
CatFileBatch runs cat-file --batch
func CatFileBatchCheck ¶
CatFileBatchCheck runs cat-file with --batch-check
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
FindLFSFile finds commits that contain a provided pointer file hash
Click to show internal directories.
Click to hide internal directories.