aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/packfile/packfile_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variables/types/functionsAbhinav Gupta2021-11-271-17/+0
| | | | | | | | [staticcheck](https://staticcheck.io/) reported a number of unused fields, functions, types, and variables across the code. Where possible, use them (assert unchecked errors in tests, for example) and otherwise remove them.
* plumbing: format/packfile, prevent large objects from being read into memory ↵zeripath2021-06-301-6/+6
| | | | | | | | | | | | | | | completely (#330) This PR adds code to prevent large objects from being read into memory from packfiles or the filesystem. Objects greater than 1Mb are now no longer directly stored in the cache or read completely into memory. This PR differs and improves the previous broken #323 by fixing several bugs in the reader and transparently wrapping ReaderAt as a Reader. Signed-off-by: Andrew Thornton <art27@cantab.net>
* plumbing: format, use os.UserHomeDir()Máximo Cuadros2021-05-021-31/+11
|
* *: migration from go-git-fixtures/v4 and go-git/gcfgMáximo Cuadros2020-03-101-4/+4
|
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-5/+5
|
* packfile: get object size correctly for delta objectsJeremy Stribling2019-01-311-0/+26
| | | | Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
* plumbing: packfile, open and close packfile on FSObject readsMiguel Molina2018-08-091-7/+24
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* *: use parser to populate non writable storages and bug fixesMiguel Molina2018-08-071-37/+132
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* Merge pull request #907 from erizocosmico/feature/fix-testsMiguel Molina2018-08-011-3/+3
|\ | | | | | | | | plumbing: packfile, fix package tests Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
| * plumbing: packfile, fix package testsMiguel Molina2018-07-301-1/+1
|/ | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* plumbing: packfile, lazy object reads with DiskObjectsMiguel Molina2018-07-271-0/+46
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* plumbing: packfile, new Packfile representationMiguel Molina2018-07-261-0/+121
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>