Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Get contents of index entry? #94

Copy link
Copy link
@papandreou

Description

@papandreou
Issue body actions

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.

Next 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 :)

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.