aboutsummaryrefslogtreecommitdiffstats
path: root/remote_test.go
Commit message (Collapse)AuthorAgeFilesLines
* remote.Head and repository.PullDefaultMáximo Cuadros2016-04-251-0/+15
|
* New iteration behavior via FileIter and TreeWalkerJoshua Sjoding2016-02-171-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 v3Máximo Cuadros2016-02-171-3/+3
|
* storages: memory objectMáximo Cuadros2016-02-171-2/+2
|
* clients: new AuthMethod and ConnectWithAuthMáximo Cuadros2015-11-051-0/+8
|
* clients: capabilities improvementMáximo Cuadros2015-11-011-1/+1
|
* internal -> coreMáximo Cuadros2015-10-311-2/+2
|
* tree and commitMáximo Cuadros2015-10-271-0/+6
|
* objects: using readers from internal.ObjectMáximo Cuadros2015-10-261-2/+2
|
* formats/packfile: new reader APIMáximo Cuadros2015-10-251-4/+5
|
* formats/packfile: new reader API (wip)Máximo Cuadros2015-10-251-2/+2
|
* formats/packfile: cleanupMáximo Cuadros2015-10-231-1/+1
|
* formats/packfile: type Hash instead of stringsMáximo Cuadros2015-10-231-1/+2
|
* clients and remote: fetch implementationMáximo Cuadros2015-10-231-1/+20
|
* new remote abstractionMáximo Cuadros2015-10-231-0/+29