]>
git.proxmox.com Git - libgit2.git/blob - src/worktree.h
2 * Copyright (C) the libgit2 contributors. All rights reserved.
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
7 #ifndef INCLUDE_worktree_h__
8 #define INCLUDE_worktree_h__
12 #include "git2/common.h"
13 #include "git2/worktree.h"
16 /* Name of the working tree. This is the name of the
17 * containing directory in the `$PARENT/.git/worktrees/`
21 /* Path to the where the worktree lives in the filesystem */
23 /* Path to the .git file in the working tree's repository */
25 /* Path to the .git directory inside the parent's
26 * worktrees directory */
28 /* Path to the common directory contained in the parent
31 /* Path to the parent's working directory */
37 char *git_worktree__read_link(const char *base
, const char *file
);