aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/idxfile/idxfile.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing/idxfile: object iterators returns entries in offset orderJavi Fontan2018-08-211-0/+69
| | | | | | | | | | | In the latest change the order was changed from offset order in packfiles to hash order. This makes reading all the objects not as efficient as before. It also created problems when the previous order was expected. Also added EntriesByOffset to indexes. Signed-off-by: Javi Fontan <jfontan@gmail.com>
* plumbing: idxfile, Crc32 to CRC32 and return ok from findHashIndexMiguel Molina2018-08-101-18/+18
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* plumbing: packfile, fix package testsMiguel Molina2018-07-301-0/+8
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* plumbing: packfile, lazy object reads with DiskObjectsMiguel Molina2018-07-271-14/+11
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* plumbing/idxfile: add offset/hash mapping to indexJavi Fontan2018-07-261-0/+51
| | | | | | | This functionality may be moved elsewhere in the future but is needed now to fit filesystem.ObjectStorage and the new index. Signed-off-by: Javi Fontan <jfontan@gmail.com>
* plumbing/idxfile: fix bug searching in MemoryIndexJavi Fontan2018-07-261-2/+2
| | | | Signed-off-by: Javi Fontan <jfontan@gmail.com>
* plumbing/format/idxfile: add new Index and MemoryIndexMiguel Molina2018-07-191-35/+189
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* format: idxfile, support for >2Gb packfilesMáximo Cuadros2017-07-271-0/+2
|
* packfile: create packfile.Index and reuse itSantiago M. Mola2017-07-261-1/+5
| | | | | | | | | | | | | | | There was an internal type (i.e. storage/filesystem.idx) to use as in-memory index for packfiles. This was not convenient to reuse in the packfile. This commit creates a new representation (format/packfile.Index) that can be converted to and from idxfile.Idxfile. A packfile.Index now contains the functionality that was scattered on storage/filesystem.idx and packfile.Decoder's internals. storage/filesystem now reuses packfile.Index instances and this also results in higher cache hit ratios when resolving deltas.
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-1/+1
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* package plumbing documentation improvements (#248)Máximo Cuadros2017-02-071-3/+3
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-1/+1
|
* new plumbing package (#118)Máximo Cuadros2016-11-081-0/+62
* plumbing: now core was renamed to core, and formats and clients moved inside