aboutsummaryrefslogtreecommitdiffstats
path: root/common.go
Commit message (Collapse)AuthorAgeFilesLines
* 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.