| 
    KiCad PCB EDA Suite
    
   | 
 
#include <git/kicad_git_errors.h>#include <import_export.h>#include <git2.h>#include <atomic>#include <mutex>#include <set>#include <wx/string.h>Go to the source code of this file.
Classes | |
| class | KIGIT_COMMON | 
Functions | |
| APIEXPORT int | progress_cb (const char *str, int len, void *data) | 
| APIEXPORT void | clone_progress_cb (const char *str, size_t len, size_t total, void *data) | 
| APIEXPORT int | transfer_progress_cb (const git_transfer_progress *aStats, void *aPayload) | 
| APIEXPORT int | update_cb (const char *aRefname, const git_oid *aFirst, const git_oid *aSecond, void *aPayload) | 
| APIEXPORT int | push_transfer_progress_cb (unsigned int aCurrent, unsigned int aTotal, size_t aBytes, void *aPayload) | 
| APIEXPORT int | push_update_reference_cb (const char *aRefname, const char *aStatus, void *aPayload) | 
| APIEXPORT int | fetchhead_foreach_cb (const char *, const char *, const git_oid *aOID, unsigned int aIsMerge, void *aPayload) | 
| APIEXPORT int | credentials_cb (git_cred **aOut, const char *aUrl, const char *aUsername, unsigned int aAllowedTypes, void *aPayload) | 
| APIEXPORT void clone_progress_cb | ( | const char * | str, | 
| size_t | len, | ||
| size_t | total, | ||
| void * | data ) | 
Definition at line 843 of file kicad_git_common.cpp.
References GIT_PROGRESS::UpdateProgress().
Referenced by LIBGIT_BACKEND::Clone().
| APIEXPORT int credentials_cb | ( | git_cred ** | aOut, | 
| const char * | aUrl, | ||
| const char * | aUsername, | ||
| unsigned int | aAllowedTypes, | ||
| void * | aPayload ) | 
Definition at line 959 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 LIBGIT_BACKEND::Clone(), DIALOG_GIT_REPOSITORY::OnTestClick(), LIBGIT_BACKEND::PerformFetch(), and LIBGIT_BACKEND::Push().
| APIEXPORT int fetchhead_foreach_cb | ( | const char * | , | 
| const char * | , | ||
| const git_oid * | aOID, | ||
| unsigned int | aIsMerge, | ||
| void * | aPayload ) | 
Definition at line 833 of file kicad_git_common.cpp.
Referenced by LIBGIT_BACKEND::PerformPull().
| APIEXPORT int progress_cb | ( | const char * | str, | 
| int | len, | ||
| void * | data ) | 
Definition at line 852 of file kicad_git_common.cpp.
References KIGIT_REPO_MIXIN::GetCommon(), KIGIT_COMMON::IsCancelled(), traceGit, and GIT_PROGRESS::UpdateProgress().
Referenced by LIBGIT_BACKEND::PerformFetch(), and LIBGIT_BACKEND::Push().
| APIEXPORT int push_transfer_progress_cb | ( | unsigned int | aCurrent, | 
| unsigned int | aTotal, | ||
| size_t | aBytes, | ||
| void * | aPayload ) | 
Definition at line 920 of file kicad_git_common.cpp.
References _, and GIT_PROGRESS::UpdateProgress().
Referenced by LIBGIT_BACKEND::Push().
| APIEXPORT int push_update_reference_cb | ( | const char * | aRefname, | 
| const char * | aStatus, | ||
| void * | aPayload ) | 
Definition at line 939 of file kicad_git_common.cpp.
References _, and GIT_PROGRESS::UpdateProgress().
| APIEXPORT int transfer_progress_cb | ( | const git_transfer_progress * | aStats, | 
| void * | aPayload ) | 
Definition at line 869 of file kicad_git_common.cpp.
References _, KIGIT_REPO_MIXIN::GetCommon(), KIGIT_COMMON::IsCancelled(), traceGit, and GIT_PROGRESS::UpdateProgress().
Referenced by LIBGIT_BACKEND::Clone(), LIBGIT_BACKEND::PerformFetch(), and LIBGIT_BACKEND::Push().
| APIEXPORT int update_cb | ( | const char * | aRefname, | 
| const git_oid * | aFirst, | ||
| const git_oid * | aSecond, | ||
| void * | aPayload ) | 
Definition at line 888 of file kicad_git_common.cpp.
References _, and GIT_PROGRESS::UpdateProgress().
Referenced by LIBGIT_BACKEND::Push().