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

#include <git_add_to_index_handler.h>

Public Member Functions

 GIT_ADD_TO_INDEX_HANDLER (git_repository *aRepository)
 
virtual ~GIT_ADD_TO_INDEX_HANDLER ()
 
bool AddToIndex (const wxString &aFilePath)
 
bool PerformAddToIndex ()
 

Private Attributes

git_repository * m_repository
 
std::vector< wxString > m_filesToAdd
 
std::vector< wxString > m_filesFailedToAdd
 

Detailed Description

Definition at line 32 of file git_add_to_index_handler.h.

Constructor & Destructor Documentation

◆ GIT_ADD_TO_INDEX_HANDLER()

GIT_ADD_TO_INDEX_HANDLER::GIT_ADD_TO_INDEX_HANDLER ( git_repository *  aRepository)

Definition at line 31 of file git_add_to_index_handler.cpp.

References m_filesToAdd, and m_repository.

◆ ~GIT_ADD_TO_INDEX_HANDLER()

GIT_ADD_TO_INDEX_HANDLER::~GIT_ADD_TO_INDEX_HANDLER ( )
virtual

Definition at line 37 of file git_add_to_index_handler.cpp.

Member Function Documentation

◆ AddToIndex()

bool GIT_ADD_TO_INDEX_HANDLER::AddToIndex ( const wxString &  aFilePath)

Definition at line 42 of file git_add_to_index_handler.cpp.

References m_filesToAdd, and m_repository.

◆ PerformAddToIndex()

bool GIT_ADD_TO_INDEX_HANDLER::PerformAddToIndex ( )

Definition at line 71 of file git_add_to_index_handler.cpp.

References m_filesFailedToAdd, m_filesToAdd, and m_repository.

Member Data Documentation

◆ m_filesFailedToAdd

std::vector<wxString> GIT_ADD_TO_INDEX_HANDLER::m_filesFailedToAdd
private

Definition at line 47 of file git_add_to_index_handler.h.

Referenced by PerformAddToIndex().

◆ m_filesToAdd

std::vector<wxString> GIT_ADD_TO_INDEX_HANDLER::m_filesToAdd
private

◆ m_repository

git_repository* GIT_ADD_TO_INDEX_HANDLER::m_repository
private

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