aboutsummaryrefslogtreecommitdiffstats
path: root/blame_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to use core.ObjectReader and core.ObjectWriterJoshua Sjoding2016-02-251-1/+2
| | | | | | | | | | | | * 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
* update imports to v3Máximo Cuadros2016-02-171-2/+2
|
* blame code reorganization, and mutting the testMáximo Cuadros2015-12-121-0/+548