| 
    KiCad PCB EDA Suite
    
   | 
 
#include "kicad_git_common.h"#include "kicad_git_memory.h"#include "git_repo_mixin.h"#include <git/git_progress.h>#include <git/kicad_git_compat.h>#include <kiplatform/secrets.h>#include <trace_helpers.h>#include <git2.h>#include <wx/filename.h>#include <wx/log.h>#include <wx/textfile.h>#include <wx/utils.h>#include <map>#include <vector>Go to the source code of this file.
Functions | |
| int | fetchhead_foreach_cb (const char *, const char *, const git_oid *aOID, unsigned int aIsMerge, void *aPayload) | 
| void | clone_progress_cb (const char *aStr, size_t aLen, size_t aTotal, void *aPayload) | 
| int | progress_cb (const char *str, int len, void *aPayload) | 
| 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 | credentials_cb (git_cred **aOut, const char *aUrl, const char *aUsername, unsigned int aAllowedTypes, void *aPayload) | 
| void clone_progress_cb | ( | const char * | aStr, | 
| size_t | aLen, | ||
| size_t | aTotal, | ||
| void * | aPayload ) | 
Definition at line 843 of file kicad_git_common.cpp.
References GIT_PROGRESS::UpdateProgress().
Referenced by LIBGIT_BACKEND::Clone().
| 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().
| 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().
| int progress_cb | ( | const char * | str, | 
| int | len, | ||
| void * | aPayload ) | 
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().
| 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().
| 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().
| 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().
| 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().