KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GIT_REVERT_HANDLER Class Reference

#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
 

Detailed Description

Definition at line 31 of file git_revert_handler.h.

Constructor & Destructor Documentation

◆ GIT_REVERT_HANDLER()

GIT_REVERT_HANDLER::GIT_REVERT_HANDLER ( git_repository *  aRepository)

Definition at line 32 of file git_revert_handler.cpp.

References m_repository.

◆ ~GIT_REVERT_HANDLER()

GIT_REVERT_HANDLER::~GIT_REVERT_HANDLER ( )
virtual

Definition at line 38 of file git_revert_handler.cpp.

Member Function Documentation

◆ PerformRevert()

void GIT_REVERT_HANDLER::PerformRevert ( )

◆ PushFailedFile()

void GIT_REVERT_HANDLER::PushFailedFile ( const wxString &  aFilePath)
inline

Definition at line 41 of file git_revert_handler.h.

References m_filesFailedToRevert.

Referenced by checkout_notify_cb().

◆ Revert()

bool GIT_REVERT_HANDLER::Revert ( const wxString &  aFilePath)

Definition at line 43 of file git_revert_handler.cpp.

References m_filesToRevert.

Member Data Documentation

◆ m_filesFailedToRevert

std::vector<wxString> GIT_REVERT_HANDLER::m_filesFailedToRevert
private

Definition at line 50 of file git_revert_handler.h.

Referenced by PushFailedFile().

◆ m_filesToRevert

std::vector<wxString> GIT_REVERT_HANDLER::m_filesToRevert
private

Definition at line 49 of file git_revert_handler.h.

Referenced by PerformRevert(), and Revert().

◆ m_repository

git_repository* GIT_REVERT_HANDLER::m_repository
private

Definition at line 47 of file git_revert_handler.h.

Referenced by GIT_REVERT_HANDLER(), and PerformRevert().


The documentation for this class was generated from the following files: