aboutsummaryrefslogtreecommitdiffstats
path: root/utils/binary
Commit message (Collapse)AuthorAgeFilesLines
* fix goreportcard warningsOleg Kovalov2020-07-011-1/+2
|
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-102-2/+2
|
* utils: binary reader, add ReadUntilFromBufioReader()Arran Walker2019-04-222-6/+22
| | | | Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
* plumbing: format/index perf, buffered reads, reflection removalArran Walker2019-04-211-0/+9
| | | | | | | | | | Large performance increase by buffering reads. There were a few instances where binary.Read() would end up using reflection on &plumbing.Hash, rather than treating it as a byte slice. This has now been resolved. Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
* format: idxfile, support for >2Gb packfilesMáximo Cuadros2017-07-272-1/+17
|
* format/diff: unified diff encoder and public APIAntonio Jesus Navarro Perez2017-05-232-0/+55
| | | | | | | | | - Added Patch interface - Added a Unified Diff encoder from Patches - Added Change method to generate Patches - Added Changes method to generate Patches - Added Tree method to generate Patches - Added Commit method to generate Patches
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-072-2/+2
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* Return values of Read not checked (fix #65)Antonio Jesus Navarro Perez2017-03-021-1/+1
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-302-2/+2
|
* move plumbing from top level package to plumbing (#183)Santiago M. Mola2016-12-141-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * plumbing: rename Object -> EncodedObject. * plumbing/storer: rename ObjectStorer -> EncodedObjectStorer. * move difftree to plumbing/difftree. * move diff -> utils/diff * make Object/Tag/Blob/Tree/Commit/File depend on storer. * Object and its implementations now depend only on storer.EncodedObjectStorer, not git.Repository. * Tests are decoupled accordingly. * move Object/Commit/File/Tag/Tree to plumbing/object. * move Object/Commit/File/Tag/Tree to plumbing/object. * move checkClose to utils/ioutil. * move RevListObjects to plumbing/revlist.Objects. * move DiffTree to plumbing/difftree package. * rename files with plural nouns to singular * plumbing/object: add GetBlob/GetCommit/GetTag/GetTree.
* format/packfile: implement delta encoding (#172)Antonio Navarro Perez2016-12-142-0/+30
| | | | | | | | | | | | * format/packfile: implement delta encoding - Added all the logic to the encoder to be able to encode ref-delta and offset-delta objects - Created plumbing.ObjectToPack to handle deltas and standard objects when we are writting them into a packfile - Added specific encoder delta tests, one standard object and one delta, and one standard object and two deltas * Requested changes. * Requested changes
* new plumbing package (#118)Máximo Cuadros2016-11-082-7/+7
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* utils: fs, new memory filesystem (#108)Máximo Cuadros2016-11-041-1/+1
| | | | | | | | * utils: fs, new memory filesystem * utils: fs, renamed os.NewOS to os.New * utils: fs, memory changes requested by @alcortes
* utils: binary, new package that collect all the spare helper functions about ↵Máximo Cuadros2016-10-314-0/+284
binary operations (#102)