| Server IP : 199.250.200.62 / Your IP : 216.73.217.61 Web Server : Apache System : Linux vps37394.inmotionhosting.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : jasonp18 ( 1000) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/cwd/proc/3/cwd/opt/imh-python/lib/python3.9/site-packages/pygit2/decl/ |
Upload File : |
#define GIT_STASH_APPLY_OPTIONS_VERSION 1
typedef int (*git_stash_cb)(
size_t index,
const char* message,
const git_oid *stash_id,
void *payload);
typedef enum {
GIT_STASH_APPLY_PROGRESS_NONE = 0,
GIT_STASH_APPLY_PROGRESS_LOADING_STASH,
GIT_STASH_APPLY_PROGRESS_ANALYZE_INDEX,
GIT_STASH_APPLY_PROGRESS_ANALYZE_MODIFIED,
GIT_STASH_APPLY_PROGRESS_ANALYZE_UNTRACKED,
GIT_STASH_APPLY_PROGRESS_CHECKOUT_UNTRACKED,
GIT_STASH_APPLY_PROGRESS_CHECKOUT_MODIFIED,
GIT_STASH_APPLY_PROGRESS_DONE,
} git_stash_apply_progress_t;
typedef int (*git_stash_apply_progress_cb)(
git_stash_apply_progress_t progress,
void *payload);
typedef enum {
GIT_STASH_DEFAULT = 0,
GIT_STASH_KEEP_INDEX = 1,
GIT_STASH_INCLUDE_UNTRACKED = 2,
GIT_STASH_INCLUDE_IGNORED = 4,
} git_stash_flags;
typedef enum {
GIT_STASH_APPLY_DEFAULT = 0,
GIT_STASH_APPLY_REINSTATE_INDEX = 1,
} git_stash_apply_flags;
typedef struct git_stash_apply_options {
unsigned int version;
git_stash_apply_flags flags;
git_checkout_options checkout_options;
git_stash_apply_progress_cb progress_cb;
void *progress_payload;
} git_stash_apply_options;
int git_stash_save(
git_oid *out,
git_repository *repo,
const git_signature *stasher,
const char *message,
uint32_t flags);
int git_stash_apply_init_options(
git_stash_apply_options *opts, unsigned int version);
int git_stash_apply(
git_repository *repo,
size_t index,
const git_stash_apply_options *options);
int git_stash_foreach(
git_repository *repo,
git_stash_cb callback,
void *payload);
int git_stash_drop(
git_repository *repo,
size_t index);
int git_stash_pop(
git_repository *repo,
size_t index,
const git_stash_apply_options *options);