libgit2_d.worktree

Undocumented in source.

Members

Enums

GIT_WORKTREE_PRUNE_VALID
anonymousenum GIT_WORKTREE_PRUNE_VALID
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_worktree_prune_t
enum git_worktree_prune_t

Flags which can be passed to git_worktree_prune to alter its behavior.

Functions

GIT_WORKTREE_ADD_OPTIONS_INIT
GIT_WORKTREE_ADD_OPTIONS_INIT()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GIT_WORKTREE_PRUNE_OPTIONS_INIT
GIT_WORKTREE_PRUNE_OPTIONS_INIT()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_worktree_add
int git_worktree_add(libgit2_d.types.git_worktree** out_, libgit2_d.types.git_repository* repo, const(char)* name, const(char)* path, const(.git_worktree_add_options)* opts)

Add a new working tree

git_worktree_add_options_init
int git_worktree_add_options_init(.git_worktree_add_options* opts, uint version_)

Initialize git_worktree_add_options structure

git_worktree_free
void git_worktree_free(libgit2_d.types.git_worktree* wt)

Free a previously allocated worktree

git_worktree_is_locked
int git_worktree_is_locked(libgit2_d.buffer.git_buf* reason, const(libgit2_d.types.git_worktree)* wt)

Check if worktree is locked

git_worktree_is_prunable
int git_worktree_is_prunable(libgit2_d.types.git_worktree* wt, .git_worktree_prune_options* opts)

Is the worktree prunable with the given options?

git_worktree_list
int git_worktree_list(libgit2_d.strarray.git_strarray* out_, libgit2_d.types.git_repository* repo)

List names of linked working trees

git_worktree_lock
int git_worktree_lock(libgit2_d.types.git_worktree* wt, const(char)* reason)

Lock worktree if not already locked

git_worktree_lookup
int git_worktree_lookup(libgit2_d.types.git_worktree** out_, libgit2_d.types.git_repository* repo, const(char)* name)

Lookup a working tree by its name for a given repository

git_worktree_name
const(char)* git_worktree_name(const(libgit2_d.types.git_worktree)* wt)

Retrieve the name of the worktree

git_worktree_open_from_repository
int git_worktree_open_from_repository(libgit2_d.types.git_worktree** out_, libgit2_d.types.git_repository* repo)

Open a worktree of a given repository

git_worktree_path
const(char)* git_worktree_path(const(libgit2_d.types.git_worktree)* wt)

Retrieve the filesystem path for the worktree

git_worktree_prune
int git_worktree_prune(libgit2_d.types.git_worktree* wt, .git_worktree_prune_options* opts)

Prune working tree

git_worktree_prune_options_init
int git_worktree_prune_options_init(.git_worktree_prune_options* opts, uint version_)

Initialize git_worktree_prune_options structure

git_worktree_unlock
int git_worktree_unlock(libgit2_d.types.git_worktree* wt)

Unlock a locked worktree

git_worktree_validate
int git_worktree_validate(const(libgit2_d.types.git_worktree)* wt)

Check if worktree is valid

Manifest constants

GIT_WORKTREE_ADD_OPTIONS_VERSION
enum GIT_WORKTREE_ADD_OPTIONS_VERSION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GIT_WORKTREE_PRUNE_OPTIONS_VERSION
enum GIT_WORKTREE_PRUNE_OPTIONS_VERSION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

git_worktree_add_options
struct git_worktree_add_options

Worktree add options structure

git_worktree_prune_options
struct git_worktree_prune_options

Worktree prune options structure

Meta