FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix tree.walk() and add test by jdgarcia · Pull Request #929 · nodegit/nodegit · GitHub

Repository navigation

Fix tree.walk() and add test - #929

Merged
johnhaley81 merged 6 commits into
masterfrom
tree-walk-fix
Mar 1, 2016
Merged

johnhaley81 merged 6 commits into
masterfrom
tree-walk-fix

Conversation

Copy link
Copy Markdown
Collaborator

Fix for #928

This is the non-api breaking change.
How does anyone feel about changing walk to return a promise (with a progress callback) instead of an event emitter? (ex: tree.walk().then(entries => ...))

John Haley added 3 commits March 1, 2016 09:57
Neither `[v for (v of set)]` nor `Array.from` work in Node 0.12 so we have to maintain our own list of entries instead of re-iterating through them to create the final array result.
johnhaley81 added a commit that referenced this pull request Mar 1, 2016
johnhaley81 merged commit 2caee3c into master Mar 1, 2016
johnhaley81 removed the ready label Mar 1, 2016
johnhaley81 deleted the tree-walk-fix branch March 1, 2016 18:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL