|
KiCad PCB EDA Suite
|
Point every config level above the repository at one directory, restoring the previous paths afterwards. More...
#include <git_test_fixture.h>
Public Member Functions | |
| SCOPED_GIT_CONFIG_SEARCH_PATH (const std::string &aPath) | |
| ~SCOPED_GIT_CONFIG_SEARCH_PATH () | |
| SCOPED_GIT_CONFIG_SEARCH_PATH (const SCOPED_GIT_CONFIG_SEARCH_PATH &)=delete | |
| SCOPED_GIT_CONFIG_SEARCH_PATH & | operator= (const SCOPED_GIT_CONFIG_SEARCH_PATH &)=delete |
Private Member Functions | |
| void | restore () |
Private Attributes | |
| std::vector< std::pair< git_config_level_t, std::string > > | m_saved |
Point every config level above the repository at one directory, restoring the previous paths afterwards.
Definition at line 40 of file git_test_fixture.h.
|
inlineexplicit |
Definition at line 43 of file git_test_fixture.h.
References BOOST_REQUIRE(), GIT_BUF_INIT, m_saved, and restore().
Referenced by operator=(), and SCOPED_GIT_CONFIG_SEARCH_PATH().
|
inline |
Definition at line 66 of file git_test_fixture.h.
References restore().
|
delete |
References SCOPED_GIT_CONFIG_SEARCH_PATH().
|
delete |
References SCOPED_GIT_CONFIG_SEARCH_PATH().
|
inlineprivate |
Definition at line 72 of file git_test_fixture.h.
References m_saved.
Referenced by SCOPED_GIT_CONFIG_SEARCH_PATH(), and ~SCOPED_GIT_CONFIG_SEARCH_PATH().
|
private |
Definition at line 78 of file git_test_fixture.h.
Referenced by restore(), and SCOPED_GIT_CONFIG_SEARCH_PATH().