Documentation ¶
Index ¶
- func BlobsFromRevListObjects(revListReader *io.PipeReader, shasToCheckWriter *io.PipeWriter, ...)
- func BlobsLessThan1024FromCatFileBatchCheck(catFileCheckReader *io.PipeReader, shasToBatchWriter *io.PipeWriter, ...)
- func CatFileBatch(shasToBatchReader *io.PipeReader, catFileBatchWriter *io.PipeWriter, ...)
- func CatFileBatchCheck(shasToCheckReader *io.PipeReader, catFileCheckWriter *io.PipeWriter, ...)
- func CatFileBatchCheckAllObjects(catFileCheckWriter *io.PipeWriter, wg *sync.WaitGroup, tmpBasePath string, ...)
- func NameRevStdin(shasToNameReader *io.PipeReader, nameRevStdinWriter *io.PipeWriter, ...)
- func RevListAllObjects(revListWriter *io.PipeWriter, wg *sync.WaitGroup, basePath string, ...)
- func RevListObjects(revListWriter *io.PipeWriter, wg *sync.WaitGroup, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlobsFromRevListObjects ¶
func BlobsFromRevListObjects(revListReader *io.PipeReader, shasToCheckWriter *io.PipeWriter, wg *sync.WaitGroup)
BlobsFromRevListObjects reads a RevListAllObjects and only selects blobs
func BlobsLessThan1024FromCatFileBatchCheck ¶
func BlobsLessThan1024FromCatFileBatchCheck(catFileCheckReader *io.PipeReader, shasToBatchWriter *io.PipeWriter, wg *sync.WaitGroup)
BlobsLessThan1024FromCatFileBatchCheck reads a pipeline from cat-file --batch-check and returns the blobs <1024 in size
func CatFileBatch ¶
func CatFileBatch(shasToBatchReader *io.PipeReader, catFileBatchWriter *io.PipeWriter, wg *sync.WaitGroup, tmpBasePath string)
CatFileBatch runs cat-file --batch
func CatFileBatchCheck ¶
func CatFileBatchCheck(shasToCheckReader *io.PipeReader, catFileCheckWriter *io.PipeWriter, wg *sync.WaitGroup, tmpBasePath string)
CatFileBatchCheck runs cat-file with --batch-check
func CatFileBatchCheckAllObjects ¶
func CatFileBatchCheckAllObjects(catFileCheckWriter *io.PipeWriter, wg *sync.WaitGroup, tmpBasePath string, errChan chan<- error)
CatFileBatchCheckAllObjects runs cat-file with --batch-check --batch-all
func NameRevStdin ¶
func NameRevStdin(shasToNameReader *io.PipeReader, nameRevStdinWriter *io.PipeWriter, wg *sync.WaitGroup, tmpBasePath string)
NameRevStdin runs name-rev --stdin
func RevListAllObjects ¶
func RevListAllObjects(revListWriter *io.PipeWriter, wg *sync.WaitGroup, basePath string, errChan chan<- error)
RevListAllObjects runs rev-list --objects --all and writes to a pipewriter
func RevListObjects ¶
func RevListObjects(revListWriter *io.PipeWriter, wg *sync.WaitGroup, tmpBasePath, headSHA, baseSHA string, errChan chan<- error)
RevListObjects run rev-list --objects from headSHA to baseSHA
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.