Get the location of a specific repository file or directory
This function will retrieve the path of a specific repository
item. It will thereby honor things like the repository's
common directory, gitdir, etc. In case a file path cannot
exist for a given item (e.g. the working directory of a bare
repository), git_error_code.GIT_ENOTFOUND is returned.
Get the location of a specific repository file or directory
This function will retrieve the path of a specific repository item. It will thereby honor things like the repository's common directory, gitdir, etc. In case a file path cannot exist for a given item (e.g. the working directory of a bare repository), git_error_code.GIT_ENOTFOUND is returned.