Title: Get contents of index entry? · Issue #94 · nodegit/nodegit · GitHub
Open Graph Title: Get contents of index entry? · Issue #94 · nodegit/nodegit
X Title: Get contents of index entry? · Issue #94 · nodegit/nodegit
Description: Hi! I'm trying to use nodegit to build a virtual fs module that fetches its data from a commit in a git repository: https://github.com/papandreou/node-gitfakefs -- it's going fine so far, I've implemented readFile, readdir, and stat. Nex...
Open Graph Description: Hi! I'm trying to use nodegit to build a virtual fs module that fetches its data from a commit in a git repository: https://github.com/papandreou/node-gitfakefs -- it's going fine so far, I've impl...
X Description: Hi! I'm trying to use nodegit to build a virtual fs module that fetches its data from a commit in a git repository: https://github.com/papandreou/node-gitfakefs -- it's going fine so far, I...
Opengraph URL: https://github.com/nodegit/nodegit/issues/94
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get contents of index entry?","articleBody":"Hi!\n\nI'm trying to use nodegit to build a virtual `fs` module that fetches its data from a commit in a git repository: https://github.com/papandreou/node-gitfakefs -- it's going fine so far, I've implemented `readFile`, `readdir`, and `stat`.\n\nNext up is adding support for the index. I found `repo.openIndex` and can get the entries out of it, but from the docs I can't find a way to get the contents of an index entry -- the actual staged contents. Is there a way to accomplish that? Otherwise consider this a feature request :)\n","author":{"url":"https://github.com/papandreou","@type":"Person","name":"papandreou"},"datePublished":"2013-09-19T21:42:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/94/nodegit/issues/94"}
| 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:9fecf4ea-596f-39d7-8b04-afe7b133d757 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD74:3D0306:170B27E:2095E8C:6A5FA96E |
| html-safe-nonce | b7e2f3d92ed13cf3b97a39fae17b93fc7491a71a210c89067989201fccc1a74c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDc0OjNEMDMwNjoxNzBCMjdFOjIwOTVFOEM6NkE1RkE5NkUiLCJ2aXNpdG9yX2lkIjoiNTExMjQ2MDEzNjE1Mjg2NjM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8e99e3faccb0cb3521483c731847e6381af40454d04037cc29041a250de430dd |
| hovercard-subject-tag | issue:19783418 |
| 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/94/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b7f1ab7064f58ca563cd9adf494bd3c279fa264d1d44cb3a803e7b12acf866c/nodegit/nodegit/issues/94 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b7f1ab7064f58ca563cd9adf494bd3c279fa264d1d44cb3a803e7b12acf866c/nodegit/nodegit/issues/94 |
| og:image:alt | Hi! I'm trying to use nodegit to build a virtual fs module that fetches its data from a commit in a git repository: https://github.com/papandreou/node-gitfakefs -- it's going fine so far, I've impl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | papandreou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b835c054d57dfb6ce72ba8f0eb8f16f0370860631609eb10df818738c61c68d |
| 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 | 4df9bc0bde4bfd7cd95e75afdd7f103984ece3a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width