KiCad PCB EDA Suite
|
#include <git_revert_handler.h>
Public Member Functions | |
GIT_REVERT_HANDLER (git_repository *aRepository) | |
virtual | ~GIT_REVERT_HANDLER () |
bool | Revert (const wxString &aFilePath) |
void | PerformRevert () |
void | PushFailedFile (const wxString &aFilePath) |
Private Attributes | |
git_repository * | m_repository |
std::vector< wxString > | m_filesToRevert |
std::vector< wxString > | m_filesFailedToRevert |
Definition at line 31 of file git_revert_handler.h.
GIT_REVERT_HANDLER::GIT_REVERT_HANDLER | ( | git_repository * | aRepository | ) |
Definition at line 32 of file git_revert_handler.cpp.
References m_repository.
|
virtual |
Definition at line 38 of file git_revert_handler.cpp.
void GIT_REVERT_HANDLER::PerformRevert | ( | ) |
Definition at line 71 of file git_revert_handler.cpp.
References checkout_notify_cb(), checkout_progress_cb(), m_filesToRevert, m_repository, and traceGit.
Referenced by PROJECT_TREE_PANE::onGitRevertLocal().
|
inline |
Definition at line 41 of file git_revert_handler.h.
References m_filesFailedToRevert.
Referenced by checkout_notify_cb().
bool GIT_REVERT_HANDLER::Revert | ( | const wxString & | aFilePath | ) |
Definition at line 43 of file git_revert_handler.cpp.
References m_filesToRevert.
|
private |
Definition at line 50 of file git_revert_handler.h.
Referenced by PushFailedFile().
|
private |
Definition at line 49 of file git_revert_handler.h.
Referenced by PerformRevert(), and Revert().
|
private |
Definition at line 47 of file git_revert_handler.h.
Referenced by GIT_REVERT_HANDLER(), and PerformRevert().