libgit2

worktree

Version:
Additional working directories for a repository

Objects

Representation of a working tree

Structs

Worktree add options structure

Worktree prune options structure

Macros

Enums

Flags which can be passed to git_worktree_prune to alter its behavior

Functions

List names of linked working trees

Lookup a working tree by its name for a given repository

Open a worktree of a given repository

Free a previously allocated worktree

Check if worktree is valid

Initialize git_worktree_add_options structure

Add a new working tree

Lock worktree if not already locked

Unlock a locked worktree

Check if worktree is locked

Retrieve the name of the worktree

Retrieve the filesystem path for the worktree

Initialize git_worktree_prune_options structure

Is the worktree prunable with the given options?

Prune working tree