KiCad PCB EDA Suite
Loading...
Searching...
No Matches
kicad_git_common.cpp File Reference
#include "kicad_git_common.h"
#include <wx/filename.h>
#include <wx/log.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 *data)
 
int progress_cb (const char *str, int len, 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 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 *  aStr,
size_t  aLen,
size_t  aTotal,
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().