]> git.proxmox.com Git - libgit2.git/blame - tests/worktree/worktree_helpers.h
tests: implement worktree helpers
[libgit2.git] / tests / worktree / worktree_helpers.h
CommitLineData
807d57e7
PS
1typedef struct {
2 const char *reponame;
3 const char *worktreename;
4 git_repository *repo;
5 git_repository *worktree;
6} worktree_fixture;
7
8#define WORKTREE_FIXTURE_INIT(repo, worktree) { (repo), (worktree), NULL, NULL }
9
10void cleanup_fixture_worktree(worktree_fixture *fixture);
11void setup_fixture_worktree(worktree_fixture *fixture);