git_worktree_prune_options_init

Initialize git_worktree_prune_options structure

Initializes a git_worktree_prune_options with default values. Equivalent to creating an instance with GIT_WORKTREE_PRUNE_OPTIONS_INIT.

extern (C) nothrow @nogc
int
git_worktree_prune_options_init

Parameters

opts .git_worktree_prune_options*

The git_worktree_prune_options struct to initialize.

Return Value

Type: int

Zero on success; -1 on failure.

Meta