libgit2_d.stash

Undocumented in source.

Members

Aliases

git_stash_apply_progress_cb
alias git_stash_apply_progress_cb = int function(.git_stash_apply_progress_t progress, void* payload)

Stash application progress notification function. Return 0 to continue processing, or a negative value to abort the stash application.

git_stash_cb
alias git_stash_cb = int function(size_t index, const(char)* message, const(libgit2_d.oid.git_oid)* stash_id, void* payload)

This is a callback function you can provide to iterate over all the stashed states that will be invoked per entry.

Enums

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

Stash application flags.

git_stash_apply_progress_t
enum git_stash_apply_progress_t

Stash apply progression states

git_stash_flags
enum git_stash_flags

Stash flags

Functions

GIT_STASH_APPLY_OPTIONS_INIT
GIT_STASH_APPLY_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_stash_apply
int git_stash_apply(libgit2_d.types.git_repository* repo, size_t index, const(.git_stash_apply_options)* options)

Apply a single stashed state from the stash list.

git_stash_apply_options_init
int git_stash_apply_options_init(.git_stash_apply_options* opts, uint version_)

Initialize git_stash_apply_options structure

git_stash_drop
int git_stash_drop(libgit2_d.types.git_repository* repo, size_t index)

Remove a single stashed state from the stash list.

git_stash_foreach
int git_stash_foreach(libgit2_d.types.git_repository* repo, .git_stash_cb callback, void* payload)

Loop over all the stashed states and issue a callback for each one.

git_stash_pop
int git_stash_pop(libgit2_d.types.git_repository* repo, size_t index, const(.git_stash_apply_options)* options)

Apply a single stashed state from the stash list and remove it from the list if successful.

git_stash_save
int git_stash_save(libgit2_d.oid.git_oid* out_, libgit2_d.types.git_repository* repo, const(libgit2_d.types.git_signature)* stasher, const(char)* message, uint flags)

Save the local modifications to a new stash.

Manifest constants

GIT_STASH_APPLY_OPTIONS_VERSION
enum GIT_STASH_APPLY_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_stash_apply_options
struct git_stash_apply_options

Stash application options structure

Meta