Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing update-index and write-tree alternatives #23

Open
moatazelmasry2 opened this issue Jun 24, 2014 · 3 comments
Open

Missing update-index and write-tree alternatives #23

moatazelmasry2 opened this issue Jun 24, 2014 · 3 comments

Comments

@moatazelmasry2
Copy link
Contributor

Hello,

So far I managed to find the read functions in jagged, to read commits, tree entries, etc.., but almost no write functions (update-index, create a tree, create a new commit, etc..)
Am I missing these, or they are not implemented?

@ethomson
Copy link
Owner

I'm afraid that they are not yet implemented.

@moatazelmasry2
Copy link
Contributor Author

I'd like to take a try at implementing the index

@ethomson
Copy link
Owner

Great!

My inclination is to keep jagged's API similar to the LibGit2Sharp API. (Though obviously not an exact duplicate, since there are various things one can do in C# that don't exist in Java and vice-versa.) I think that it's beneficial to the libgit2 community as a whole to have bindings that similar when it makes sense to be.

So if you wouldn't mind looking at the Index class over there, for example, I think that it would make a lot of sense to use that as a guide towards our implementation.

Very exciting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants