aboutsummaryrefslogtreecommitdiffstats
path: root/common.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in git docs (#230)Sergio Arbeo2017-01-301-2/+2
|
* storage: shallow storage (#180)Máximo Cuadros2016-12-151-0/+1
| | | | | | | | * storage: shallow storage * changes * changes
* move plumbing from top level package to plumbing (#183)Santiago M. Mola2016-12-141-25/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* new plumbing package (#118)Máximo Cuadros2016-11-081-3/+3
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* global storage interface refactor (#112)Máximo Cuadros2016-11-071-5/+9
| | | | | | | | | | | * core: ObjectStorage, ReferenceStorage renamed to ObjectStorer and ReferenceStorer * rebase * general, changes request by @alcortes * general, changes request by @alcortes
* tags tests, Tag.String and Commit.StringMáximo Cuadros2016-09-211-0/+2
|
* remote and repository base on ConfigStoreMáximo Cuadros2016-08-201-0/+10
|
* Renamed internal close function to checkCloseJoshua Sjoding2016-02-271-4/+4
| | | | * Old name accidentally shadowed builtin close function
* Refactor to use core.ObjectReader and core.ObjectWriterJoshua Sjoding2016-02-251-1/+24
| | | | | | | | | | | | * New function signatures provide the necessary interface to stream data from disk when using filesystem-based storage in the future * New function signatures provide proper error handling * ObjectReader and ObjectWriter interfaces added to avoid future refactoring, currently are type aliases for io.ReadCloser and io.WriteCloser respectively * Object.Reader now returns (ObjectReader, error) * Object.Writer now returns (ObjectWriter, error) * File.Contents now returns (string, error) * File.Lines now returns ([]string, error) * Blob.Reader now returns (core.ObjectReader, error) * Added internal close helper function for deferred calls to Close that need to check the return value
* blame code reorganization, and mutting the testMáximo Cuadros2015-12-121-5/+7
|
* fix PR#7 commentsAlberto Cortés2015-12-041-36/+5
|
* Blame support for filesAlberto Cortés2015-11-251-0/+49
This also includes a diff package and revlist package (needed by blame) Some extra packfiles (<1MB) are also included, to be used as fixtures in the tests.