KiCad PCB EDA Suite
|
#include <git/kicad_git_errors.h>
#include <git2.h>
#include <mutex>
#include <set>
#include <wx/string.h>
Go to the source code of this file.
Classes | |
class | KIGIT_COMMON |
Functions | |
int | progress_cb (const char *str, int len, void *data) |
void | clone_progress_cb (const char *str, size_t len, size_t total, void *data) |
int | transfer_progress_cb (const git_transfer_progress *aStats, void *aPayload) |
int | update_cb (const char *aRefname, const git_oid *aFirst, const git_oid *aSecond, void *aPayload) |
int | push_transfer_progress_cb (unsigned int aCurrent, unsigned int aTotal, size_t aBytes, void *aPayload) |
int | push_update_reference_cb (const char *aRefname, const char *aStatus, void *aPayload) |
int | fetchhead_foreach_cb (const char *, const char *, const git_oid *aOID, unsigned int aIsMerge, void *aPayload) |
int | credentials_cb (git_cred **aOut, const char *aUrl, const char *aUsername, unsigned int aAllowedTypes, void *aPayload) |
void clone_progress_cb | ( | const char * | str, |
size_t | len, | ||
size_t | total, | ||
void * | data | ||
) |
Definition at line 820 of file kicad_git_common.cpp.
References GIT_PROGRESS::UpdateProgress().
Referenced by GIT_CLONE_HANDLER::PerformClone().
int credentials_cb | ( | git_cred ** | aOut, |
const char * | aUrl, | ||
const char * | aUsername, | ||
unsigned int | aAllowedTypes, | ||
void * | aPayload | ||
) |
Definition at line 925 of file kicad_git_common.cpp.
References _, KIGIT_REPO_MIXIN::GetCommon(), KIGIT_REPO_MIXIN::GetConnType(), KIGIT_COMMON::GetLastGitError(), KIGIT_REPO_MIXIN::GetUsername(), KIGIT_COMMON::GIT_CONN_HTTPS, KIGIT_COMMON::GIT_CONN_LOCAL, KIGIT_COMMON::GIT_CONN_SSH, KIGIT_COMMON::HandlePlaintextAuthentication(), KIGIT_COMMON::HandleSSHKeyAuthentication(), KIGIT_REPO_MIXIN::TestedTypes(), and traceGit.
Referenced by DIALOG_GIT_REPOSITORY::OnTestClick(), GIT_CLONE_HANDLER::PerformClone(), GIT_PULL_HANDLER::PerformFetch(), and GIT_PUSH_HANDLER::PerformPush().
int fetchhead_foreach_cb | ( | const char * | , |
const char * | , | ||
const git_oid * | aOID, | ||
unsigned int | aIsMerge, | ||
void * | aPayload | ||
) |
Definition at line 810 of file kicad_git_common.cpp.
Referenced by GIT_PULL_HANDLER::PerformPull().
int progress_cb | ( | const char * | str, |
int | len, | ||
void * | data | ||
) |
Definition at line 829 of file kicad_git_common.cpp.
References GIT_PROGRESS::UpdateProgress().
Referenced by GIT_PULL_HANDLER::PerformFetch(), and GIT_PUSH_HANDLER::PerformPush().
int push_transfer_progress_cb | ( | unsigned int | aCurrent, |
unsigned int | aTotal, | ||
size_t | aBytes, | ||
void * | aPayload | ||
) |
Definition at line 886 of file kicad_git_common.cpp.
References _, and GIT_PROGRESS::UpdateProgress().
Referenced by GIT_PUSH_HANDLER::PerformPush().
int push_update_reference_cb | ( | const char * | aRefname, |
const char * | aStatus, | ||
void * | aPayload | ||
) |
Definition at line 905 of file kicad_git_common.cpp.
References _, and GIT_PROGRESS::UpdateProgress().
int transfer_progress_cb | ( | const git_transfer_progress * | aStats, |
void * | aPayload | ||
) |
Definition at line 840 of file kicad_git_common.cpp.
References _, and GIT_PROGRESS::UpdateProgress().
Referenced by GIT_CLONE_HANDLER::PerformClone(), GIT_PULL_HANDLER::PerformFetch(), and GIT_PUSH_HANDLER::PerformPush().
int update_cb | ( | const char * | aRefname, |
const git_oid * | aFirst, | ||
const git_oid * | aSecond, | ||
void * | aPayload | ||
) |
Definition at line 854 of file kicad_git_common.cpp.
References _, and GIT_PROGRESS::UpdateProgress().
Referenced by GIT_PUSH_HANDLER::PerformPush().