Title: Add `Repository#refreshIndex` by johnhaley81 · Pull Request #986 · nodegit/nodegit · GitHub
Open Graph Title: Add `Repository#refreshIndex` by johnhaley81 · Pull Request #986 · nodegit/nodegit
X Title: Add `Repository#refreshIndex` by johnhaley81 · Pull Request #986 · nodegit/nodegit
Description: Repository#refreshIndex will return an Index object back that has the latest data loaded off of disk. This removes the need for the Repository#index then Index#read(1) pattern that was being used which seemed to have some weird timing issues that could have wrong data loaded into the returned index. Calling this function also clears the Index that's cached in the Repository object.
Open Graph Description: Repository#refreshIndex will return an Index object back that has the latest data loaded off of disk. This removes the need for the Repository#index then Index#read(1) pattern that was being used w...
X Description: Repository#refreshIndex will return an Index object back that has the latest data loaded off of disk. This removes the need for the Repository#index then Index#read(1) pattern that was being used w...
Opengraph URL: https://github.com/nodegit/nodegit/pull/986
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:642c6e08-77ae-eb1c-ceac-52611bc0df37 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8AD0:26E27B:3B4BDF6:514A325:6A5EF3F6 |
| html-safe-nonce | 673f219200c439b2d99ef1e7cbd514a1d49db885db1fef6d24d97e20fdc54f67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUQwOjI2RTI3QjozQjRCREY2OjUxNEEzMjU6NkE1RUYzRjYiLCJ2aXNpdG9yX2lkIjoiOTIwNTgwNzAzOTczNzk1MTIyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 700c3400c8347cab34103b298d3158f88a5de99baaa2140c5688df4a36d7c347 |
| hovercard-subject-tag | pull_request:65689096 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/nodegit/nodegit/pull/986/files |
| twitter:image | https://avatars.githubusercontent.com/u/867780?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/867780?s=400&v=4 |
| og:image:alt | Repository#refreshIndex will return an Index object back that has the latest data loaded off of disk. This removes the need for the Repository#index then Index#read(1) pattern that was being used w... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d2d913dd727d2d7ac189fb4d05b10bc34ecd03ee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width