We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The documentation at https://www.nodegit.org/api/convenient_patch/#hunks indicates that the return of hunks is an Array<ConvenientHunk>.
hunks
Array<ConvenientHunk>
However, there is no such type as ConvenientHunk. It is not clear what hunks() actually returns.
ConvenientHunk
hunks()
The text was updated successfully, but these errors were encountered:
There is ConvenientHunk, the documentation for it is missing tough. see #1939
I managed to work out the relevant API by trial&error and inspecting the javascript objects.
See here where I query nodegit to return the diffs of a commit and fill them in my own down datastructures:
https://gitlab.com/csc1/gitengine/-/blob/main/src/Yagit/Server/Diffs.js
Sorry, something went wrong.
No branches or pull requests
The documentation at https://www.nodegit.org/api/convenient_patch/#hunks indicates that the return of
hunks
is anArray<ConvenientHunk>
.However, there is no such type as
ConvenientHunk
. It is not clear whathunks()
actually returns.The text was updated successfully, but these errors were encountered: