]> git.proxmox.com Git - libgit2.git/commit - include/git2/repository.h
Add two new accessors to the repository
authornulltoken <emeric.fermas@gmail.com>
Sat, 9 Apr 2011 13:49:44 +0000 (15:49 +0200)
committerVicent Marti <tanoku@gmail.com>
Sat, 9 Apr 2011 22:25:24 +0000 (15:25 -0700)
commit4a34b3a9ff796f2324d59eb598595be62934acdf
tree9612e2c1ae691221c1b1eb56e32730a117412218
parentc6e65acae63bd9b251140184679ab4ea0ec5c1a9
Add two new accessors to the repository

git_repository_path() and git_repository_workdir() respectively return the path to the git repository and the working directory. Those paths are absolute and normalized.
include/git2/repository.h
src/repository.c
tests/t12-repo.c