KiCad PCB EDA Suite
Loading...
Searching...
No Matches
kicad_git_common.h File Reference
#include <git/kicad_git_errors.h>
#include <git2.h>
#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)
 

Function Documentation

◆ clone_progress_cb()

void clone_progress_cb ( const char *  str,
size_t  len,
size_t  total,
void *  data 
)

Definition at line 398 of file kicad_git_common.cpp.

References KIGIT_COMMON::UpdateProgress().

Referenced by GIT_CLONE_HANDLER::PerformClone().

◆ credentials_cb()

int credentials_cb ( git_cred **  aOut,
const char *  aUrl,
const char *  aUsername,
unsigned int  aAllowedTypes,
void *  aPayload 
)

◆ fetchhead_foreach_cb()

int fetchhead_foreach_cb ( const char *  ,
const char *  ,
const git_oid *  aOID,
unsigned int  aIsMerge,
void *  aPayload 
)

Definition at line 388 of file kicad_git_common.cpp.

Referenced by GIT_PULL_HANDLER::PerformPull().

◆ progress_cb()

int progress_cb ( const char *  str,
int  len,
void *  data 
)

◆ push_transfer_progress_cb()

int push_transfer_progress_cb ( unsigned int  aCurrent,
unsigned int  aTotal,
size_t  aBytes,
void *  aPayload 
)

Definition at line 460 of file kicad_git_common.cpp.

References _, and KIGIT_COMMON::UpdateProgress().

Referenced by GIT_PUSH_HANDLER::PerformPush().

◆ push_update_reference_cb()

int push_update_reference_cb ( const char *  aRefname,
const char *  aStatus,
void *  aPayload 
)

Definition at line 479 of file kicad_git_common.cpp.

References _, and KIGIT_COMMON::UpdateProgress().

◆ transfer_progress_cb()

int transfer_progress_cb ( const git_transfer_progress *  aStats,
void *  aPayload 
)

◆ update_cb()

int update_cb ( const char *  aRefname,
const git_oid *  aFirst,
const git_oid *  aSecond,
void *  aPayload 
)

Definition at line 428 of file kicad_git_common.cpp.

References _, and KIGIT_COMMON::UpdateProgress().

Referenced by GIT_PUSH_HANDLER::PerformPush().