14#ifndef GIT_REPO_MIXIN_H
15#define GIT_REPO_MIXIN_H
27 wxASSERT( aCommon !=
nullptr );
std::vector< wxString > GetBranchNames() const
GIT_CONN_TYPE GetConnType() const
wxString GetCurrentBranchName() const
wxString GetGitRootDirectory() const
void SetSSHKey(const wxString &aSSHKey)
void SetUsername(const wxString &aUsername)
std::vector< wxString > GetProjectDirs()
Return a vector of project files in the repository.
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 ...
wxString GetUsername() const
void SetPassword(const wxString &aPassword)
wxString GetRemotename() const
wxString GetCurrentBranchName() const
Get the current branch name.
void SetPassword(const wxString &aPassword)
Set the password.
std::pair< std::set< wxString >, std::set< wxString > > GetDifferentFiles() const
Get a pair of sets of files that differ locally from the remote repository.
std::vector< wxString > GetProjectDirs()
Get a list of project directories.
wxString GetPassword() const
Get the password.
git_repository * GetRepo() const
Get a pointer to the git repository.
void SetUsername(const wxString &aUsername)
Set the username.
std::vector< wxString > GetBranchNames() const
Get a list of branch names.
virtual ~KIGIT_REPO_MIXIN()
wxString GetUsername() const
Get the username.
wxString GetNextPublicKey()
Get the next public key.
wxString GetGitRootDirectory() const
Get the git root directory.
unsigned & TestedTypes()
Return the connection types that have been tested for authentication.
KIGIT_COMMON * GetCommon() const
Get the common object.
KIGIT_REPO_MIXIN(KIGIT_COMMON *aCommon)
KIGIT_COMMON::GIT_CONN_TYPE GetConnType() const
Get the connection type.
void SetSSHKey(const wxString &aSSHKey)
Set the SSH key.
wxString GetRemotename() const
Get the remote name.
void ResetNextKey()
Reset the next public key to test.