aboutsummaryrefslogtreecommitdiffstats
path: root/storage/test
Commit message (Collapse)AuthorAgeFilesLines
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-5/+5
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* documentation and API improvementsMáximo Cuadros2017-02-211-2/+30
|
* storage: git.Storer move to storage.Storer and module handlingMáximo Cuadros2017-02-121-0/+13
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-4/+4
|
* storage: IndexStorer implementationMáximo Cuadros2017-01-291-0/+9
|
* storage: IndexStorer implementationMáximo Cuadros2017-01-281-0/+14
|
* storage: shallow storage (#180)Máximo Cuadros2016-12-151-0/+16
| | | | | | | | * storage: shallow storage * changes * changes
* move plumbing from top level package to plumbing (#183)Santiago M. Mola2016-12-141-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* config: Config, bare flag (#177)Máximo Cuadros2016-12-121-0/+1
| | | | | | | | * config.Config: bare flag * changes * changes
* revision based on goreportcard.comMáximo Cuadros2016-12-061-0/+1
|
* new plumbing package (#118)Máximo Cuadros2016-11-081-56/+57
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* global storage interface refactor (#112)Máximo Cuadros2016-11-071-85/+78
| | | | | | | | | | | * core: ObjectStorage, ReferenceStorage renamed to ObjectStorer and ReferenceStorer * rebase * general, changes request by @alcortes * general, changes request by @alcortes
* storage/filesystem: implement missing functionality. (#110)Santiago M. Mola2016-11-031-8/+50
| | | | | | | * storage/filesystem: added ObjectStorage Set. * storage/filesystem: now passes all tests, except those specific to transactions. * formats/config: Encoder now encodes subsections with no options. * formats/config: add HasSubsection on Section. * dotgit: add Ref method to get specific reference.
* do not assume remotes are sorted chronologically (#87)Alberto Cortés2016-10-181-2/+8
|
* storage: memory test improvements and coverageMáximo Cuadros2016-09-241-3/+121
|
* core: ObjectStorage.Begin and TxObjectStorageMáximo Cuadros2016-09-051-0/+45
|
* storage: idiomatic test suiteMáximo Cuadros2016-09-051-23/+46
|
* core: Storage.Get, switch order of argsMáximo Cuadros2016-08-291-4/+5
|
* storage: Add object type hint parameter to ObjectStorage.Get. (#69)Santiago M. Mola2016-08-291-0/+92
Some storage backends can optimize object lookup if they get the object type that is expected. So we the signature of the Get method is now Get(Hash, ObjectType). Added generic tests for storage backends.