Find the first position of any entries which point to given path in the Git index.
the address to which the position of the index entry is written (optional)
an existing index object
path to search
a zero-based position in the index if found; git_error_code.GIT_ENOTFOUND otherwise
See Implementation
Find the first position of any entries which point to given path in the Git index.