Skip to content

Get contents of index entry? #94

@papandreou

Description

@papandreou

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

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