Skip to content

Conversation

pwaller
Copy link

@pwaller pwaller commented May 24, 2015

This adds a new API to trees for iterating over entries.

This also gives the ability to detect errors.

It looks like the bufio.Scanner API, but instead of scanner.Bytes()
or scanner.Text(), you call scanner.TreeEntry().

This adds a new API to trees for iterating over entries.

This also gives the ability to detect errors.

It looks like the `bufio.Scanner` API, but instead of `scanner.Bytes()`
or `scanner.Text()`, you call `scanner.TreeEntry()`.
@pwaller pwaller force-pushed the tree-entry-streaming branch from 5275fdc to a71e2dc Compare May 24, 2015 18:52
unknwon added a commit that referenced this pull request Jul 6, 2015
@unknwon unknwon merged commit 37eaecd into gogs:master Jul 6, 2015
@unknwon
Copy link
Member

unknwon commented Jul 6, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants