mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-22 17:13:26 +00:00
![]() While we already provide functionality to look up a worktree from a repository, we cannot do so the other way round. That is given a repository, we want to look up its worktree if it actually exists. Getting the worktree of a repository is useful when we want to get certain meta information like the parent's location, getting the locked status, etc. |
||
---|---|---|
.. | ||
config.c | ||
merge.c | ||
open.c | ||
reflog.c | ||
refs.c | ||
repository.c | ||
submodule.c | ||
worktree_helpers.c | ||
worktree_helpers.h | ||
worktree.c |