git_worktree_add_options

Worktree add options structure

Initialize with GIT_WORKTREE_ADD_OPTIONS_INIT. Alternatively, you can use git_worktree_add_options_init.

Members

Variables

checkout_options
libgit2.checkout.git_checkout_options checkout_options;

Options for the checkout.

lock
int lock;

lock newly created worktree

ref_
libgit2.types.git_reference* ref_;

reference to use for the new worktree HEAD

version_
uint version_;
Undocumented in source.

Meta