Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement streaming Tree reader #8

Merged
merged 1 commit into from
Jul 6, 2015

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