41 git_repository*
GetRepo()
const;
52 virtual void UpdateProgress(
int aCurrent,
int aTotal,
const wxString& aMessage ) {};
96 void SetSSHKey(
const wxString& aSSHKey );
126 return wxEmptyString;
152extern "C" int progress_cb(
const char* str,
int len,
void* data );
153extern "C" void clone_progress_cb(
const char* str,
size_t len,
size_t total,
void* data );
155extern "C" int update_cb(
const char* aRefname,
const git_oid* aFirst,
const git_oid* aSecond,
158 size_t aBytes,
void* aPayload );
163 const git_oid* aOID,
unsigned int aIsMerge,
void* aPayload );
164extern "C" int credentials_cb( git_cred** aOut,
const char* aUrl,
const char* aUsername,
165 unsigned int aAllowedTypes,
void* aPayload );
std::vector< wxString > GetBranchNames() const
void updateConnectionType()
void SetConnType(GIT_CONN_TYPE aConnType)
wxString GetCurrentBranchName() 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
wxString GetNextPublicKey()
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 ...
std::vector< wxString > m_publicKeys
bool HasPushAndPullRemote() const
wxString GetUsername() const
void UpdateCurrentBranchInfo()
bool HasLocalCommits() const
void SetConnType(unsigned aConnType)
void SetPassword(const wxString &aPassword)
virtual void UpdateProgress(int aCurrent, int aTotal, const wxString &aMessage)
wxString GetRemotename() const
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)