Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New iteration behavior via FileIter and TreeWalker | Joshua Sjoding | 2016-02-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Instead of returning a channel of files, Tree.Files() now returns a FileIter with these qualities: * It returns files in the original order of the repository (relying on a * new Tree.OrderedNames property) * It can return errors encountered when retrieving files and trees from * underlying storage * It can be Closed without having to drain the entire channel * It defers the heavy lifting to a new TreeWalker type * Its behavior is a little more consistent with other Iter types * It's a little less prone to memory leaks This update includes a new TreeWalker type that will iterate through all of the entries of a tree and its descendant subtrees. It does the dirty work that Tree.walkEntries() used to do, but with a public API. A new TreeIter type is also included that just walks through subtrees. This could be useful for performing a directory search while ignoring files/blobs altogether. | ||||
* | update imports to v3 | Máximo Cuadros | 2016-02-17 | 1 | -4/+4 |
| | |||||
* | storages: memory object | Máximo Cuadros | 2016-02-17 | 1 | -1/+2 |
| | |||||
* | Merge pull request #20 from scjalliance/generic-object-storage | Máximo Cuadros | 2016-02-16 | 1 | -16/+14 |
|\ | | | | | Iterable ObjectStorage interface for use in Repository struct | ||||
| * | Functions in core.ObjectStorage interface now return an error | Joshua Sjoding | 2016-02-16 | 1 | -6/+12 |
| | | |||||
| * | Renamed ObjectStorage.IterType() to Iter() and improved documentation for ↵ | Joshua Sjoding | 2016-02-15 | 1 | -1/+1 |
| | | | | | | | | object iterators | ||||
| * | Renamed ObjectStorage Iter function to IterType | Joshua Sjoding | 2016-02-01 | 1 | -1/+1 |
| | | |||||
| * | Repository now works against the generic ObjectStore interface | Joshua Sjoding | 2016-01-23 | 1 | -10/+2 |
| | | |||||
* | | repository: documentation | Máximo Cuadros | 2016-02-16 | 1 | -0/+3 |
|/ | |||||
* | missing call to Close on Fetch return value (ReadCloser) | Alberto Cortés | 2016-01-11 | 1 | -1/+4 |
| | |||||
* | fix PR#7 comments | Alberto Cortés | 2015-12-04 | 1 | -0/+2 |
| | |||||
* | common: GitUploadPackRequest Want, Have methods | Máximo Cuadros | 2015-11-10 | 1 | -6/+8 |
| | |||||
* | clients: new AuthMethod and ConnectWithAuth | Máximo Cuadros | 2015-11-05 | 1 | -2/+10 |
| | |||||
* | internal -> core | Máximo Cuadros | 2015-10-31 | 1 | -6/+6 |
| | |||||
* | tree and commit | Máximo Cuadros | 2015-10-27 | 1 | -0/+40 |
| | |||||
* | repository | Máximo Cuadros | 2015-10-26 | 1 | -0/+68 |