git_stash_drop

Remove a single stashed state from the stash list.

extern (C) nothrow @nogc
int
git_stash_drop

Parameters

repo libgit2_d.types.git_repository*

The owning repository.

index size_t

The position within the stash list. 0 points to the most recent stashed state.

Return Value

Type: int

0 on success, git_error_code.GIT_ENOTFOUND if there's no stashed state for the given index, or error code.

Meta