git_worktree_prune

Prune working tree

Prune the working tree, that is remove the git data structures on disk. The repository will only be pruned of git_worktree_is_prunable succeeds.

@param wt Worktree to prune @param opts Specifies which checks to override. See git_worktree_is_prunable. May be null @return 0 or an error code

extern (C) nothrow @nogc
int
git_worktree_prune

Meta