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

conflictGet docs has wrong return type #1984

Open
yuribro opened this issue Jul 21, 2023 · 0 comments
Open

conflictGet docs has wrong return type #1984

yuribro opened this issue Jul 21, 2023 · 0 comments

Comments

@yuribro
Copy link

yuribro commented Jul 21, 2023

The documentation of Index.conflictGet (here for example: https://www.nodegit.org/api/index/#conflictGet) has the wrong return value: it doesn't return a single IndexEntry, but an object with this type:

{
 ancestor_out: IndexEntry | null
 our_out: IndexEntry | null
 their_out: IndexEntry | null
}

See this issue for referenece as well: #1193

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

1 participant