Title: Tree.walk() does not return the correct entries on "end" · Issue #928 · nodegit/nodegit · GitHub
Open Graph Title: Tree.walk() does not return the correct entries on "end" · Issue #928 · nodegit/nodegit
X Title: Tree.walk() does not return the correct entries on "end" · Issue #928 · nodegit/nodegit
Description: Scenario files in your tree: test.txt foo/bar.txt If you use tree.walk(), during the entry events, you will end up with test.txt and foo/bar.txt, but for the end event, you will get [foo/bar.txt, foo/bar.txt]. The end handler gives you f...
Open Graph Description: Scenario files in your tree: test.txt foo/bar.txt If you use tree.walk(), during the entry events, you will end up with test.txt and foo/bar.txt, but for the end event, you will get [foo/bar.txt, f...
X Description: Scenario files in your tree: test.txt foo/bar.txt If you use tree.walk(), during the entry events, you will end up with test.txt and foo/bar.txt, but for the end event, you will get [foo/bar.txt, f...
Opengraph URL: https://github.com/nodegit/nodegit/issues/928
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tree.walk() does not return the correct entries on \"end\"","articleBody":"Scenario files in your tree:\n- `test.txt`\n- `foo/bar.txt`\n\nIf you use `tree.walk()`, during the `entry` events, you will end up with `test.txt` and `foo/bar.txt`, but for the `end` event, you will get `[foo/bar.txt, foo/bar.txt]`.\n\nThe `end` handler gives you files in the last tree it recursed through, with a duplicate entry for everything in it.\n","author":{"url":"https://github.com/jdgarcia","@type":"Person","name":"jdgarcia"},"datePublished":"2016-02-29T19:20:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/928/nodegit/issues/928"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cfafa135-9bdf-f34f-32df-0babd3b0c1a1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6F0:171CBE:1110502:1723D1B:6A5F1072 |
| html-safe-nonce | 58b501ad5ff9a3c965e5ca467de7ff5cf2ae55a7f616d2989e94edef48f8da25 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkYwOjE3MUNCRToxMTEwNTAyOjE3MjNEMUI6NkE1RjEwNzIiLCJ2aXNpdG9yX2lkIjoiMzgxMzM3MDk3ODUwMTU5NTI1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ab018eabdb88368086174ac6e2195e13222cecd3ec0542437559485745766994 |
| hovercard-subject-tag | issue:137345339 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/928/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4159ff9263d9e3b70d6aae5ace3011a0a525956b93bd273c943325d5c40cf1ab/nodegit/nodegit/issues/928 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4159ff9263d9e3b70d6aae5ace3011a0a525956b93bd273c943325d5c40cf1ab/nodegit/nodegit/issues/928 |
| og:image:alt | Scenario files in your tree: test.txt foo/bar.txt If you use tree.walk(), during the entry events, you will end up with test.txt and foo/bar.txt, but for the end event, you will get [foo/bar.txt, f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jdgarcia |
| hostname | github.com |
| expected-hostname | github.com |
| None | bf8fa4b42b6d150def6175efb9b0f1ec8e9628d7229ee2bdf6e850e7bdad923e |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7debc3c6cd5de09c6e22b47a1b9982acb2aabb7b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width