Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to use core.ObjectReader and core.ObjectWriter | Joshua Sjoding | 2016-02-25 | 1 | -10/+54 |
| | | | | | | | | | | | | * 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 v3 | Máximo Cuadros | 2016-02-17 | 1 | -1/+1 |
| | |||||
* | storages: memory object | Máximo Cuadros | 2016-02-17 | 1 | -2/+2 |
| | |||||
* | Functions in core.ObjectStorage interface now return an error | Joshua Sjoding | 2016-02-16 | 1 | -6/+11 |
| | |||||
* | fix zlib invalid header error | Alberto Cortés | 2016-01-27 | 1 | -3/+2 |
| | | | | | The return value of reads to the packfile were being ignored, so zlib was getting invalid data on it read buffers. | ||||
* | Speed up packfile reading | Alberto Cortés | 2016-01-26 | 1 | -1/+1 |
| | | | | | By adding a bufio to the trackingReader, otherwise most of the time is spent in syscalls for small reads to the packfile. | ||||
* | internal -> core | Máximo Cuadros | 2015-10-31 | 1 | -14/+14 |
| | |||||
* | objects: using readers from internal.Object | Máximo Cuadros | 2015-10-26 | 1 | -14/+14 |
| | |||||
* | formats/packfile: new reader API | Máximo Cuadros | 2015-10-25 | 1 | -133/+123 |
| | |||||
* | formats/packfile: new reader API (wip) | Máximo Cuadros | 2015-10-25 | 1 | -133/+82 |
| | |||||
* | formats/packfile: new reader API (wip) | Máximo Cuadros | 2015-10-25 | 1 | -83/+49 |
| | |||||
* | formats/packfile: cleanup | Máximo Cuadros | 2015-10-23 | 1 | -88/+72 |
| | |||||
* | formats/packfile: type Hash instead of strings | Máximo Cuadros | 2015-10-23 | 1 | -0/+401 |