41 git_repository*
GetRepo()
const;
52 virtual void UpdateProgress(
int aCurrent,
int aTotal,
const wxString& aMessage ) {};
130extern "C" int progress_cb(
const char* str,
int len,
void* data );
131extern "C" void clone_progress_cb(
const char* str,
size_t len,
size_t total,
void* data );
133extern "C" int update_cb(
const char* aRefname,
const git_oid* aFirst,
const git_oid* aSecond,
136 size_t aBytes,
void* aPayload );
141 const git_oid* aOID,
unsigned int aIsMerge,
void* aPayload );
142extern "C" int credentials_cb( git_cred** aOut,
const char* aUrl,
const char* aUsername,
143 unsigned int aAllowedTypes,
void* aPayload );
std::vector< wxString > GetBranchNames() const
void SetConnType(GIT_CONN_TYPE aConnType)
wxString GetCurrentBranchName() const
wxString GetSSHKey() const
void SetSSHKey(const wxString &aSSHKey)
void SetUsername(const wxString &aUsername)
std::vector< wxString > GetProjectDirs()
Return a vector of project files in the repository.
GIT_CONN_TYPE GetConnType() const
wxString GetPassword() const
git_repository * GetRepo() const
std::pair< std::set< wxString >, std::set< wxString > > GetDifferentFiles() const
Return a pair of sets of files that differ locally from the remote repository The first set is files ...
bool HasPushAndPullRemote() const
wxString GetUsername() const
bool HasLocalCommits() const
void SetConnType(unsigned aConnType)
void SetPassword(const wxString &aPassword)
virtual void UpdateProgress(int aCurrent, int aTotal, const wxString &aMessage)
void SetRepo(git_repository *aRepo)
int fetchhead_foreach_cb(const char *, const char *, const git_oid *aOID, unsigned int aIsMerge, void *aPayload)
int push_update_reference_cb(const char *aRefname, const char *aStatus, void *aPayload)
int update_cb(const char *aRefname, const git_oid *aFirst, const git_oid *aSecond, void *aPayload)
int transfer_progress_cb(const git_transfer_progress *aStats, 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)
int push_transfer_progress_cb(unsigned int aCurrent, unsigned int aTotal, size_t aBytes, void *aPayload)
int progress_cb(const char *str, int len, void *data)