aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer/object.go
Commit message (Collapse)AuthorAgeFilesLines
* storage: transactional, new storage with transactional capabilities (WIP)Máximo Cuadros2018-10-291-1/+1
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* object: get object size without reading whole objectJeremy Stribling2018-10-111-0/+2
| | | | Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
* all: remove some unused codeDaniel Martí2018-03-011-2/+0
| | | | Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
* storer: separate loose and packed object mgmt into optional ifacesJeremy Stribling2017-11-291-15/+25
| | | | Suggested by mcuadros.
* Make object repacking more configurableTaru Karttunen2017-11-291-2/+3
|
* Support for repacking objectsTaru Karttunen2017-11-291-0/+5
|
* Address CI and move code aroundTaru Karttunen2017-11-291-2/+4
|
* First pass of prune designTaru Karttunen2017-11-291-0/+14
|
* examples,plumbing,utils: typo fixesferhat elmas2017-11-201-3/+3
|
* storage: reuse deltas from packfilesSantiago M. Mola2017-07-271-0/+8
| | | | | | | | | | | | | | | | | | | * plumbing: add DeltaObject interface for EncodedObjects that are deltas and hold additional information about them, such as the hash of the base object. * plumbing/storer: add DeltaObjectStorer interface for object storers that can return DeltaObject. Note that calls to EncodedObject will never return instances of DeltaObject. That requires explicit calls to DeltaObject. * storage/filesystem: implement DeltaObjectStorer interface. * plumbing/packfile: packfile encoder now supports reusing deltas that are already computed (e.g. from an existing packfile) if the storage implements DeltaObjectStorer. Reusing deltas boosts performance of packfile generation (e.g. on push).
* 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.
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-1/+1
|
* move plumbing from top level package to plumbing (#183)Santiago M. Mola2016-12-141-62/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* revision based on goreportcard.comMáximo Cuadros2016-12-061-1/+1
|
* new plumbing package (#118)Máximo Cuadros2016-11-081-0/+241
* plumbing: now core was renamed to core, and formats and clients moved inside