|
KiCad PCB EDA Suite
|
The project is a folder inside a larger repository, where rules have to be anchored to the project rather than the repository root. More...
Public Member Functions | |
| wxString | projectPath () const override |
| The project directory, which is where its ignore file belongs. | |
| void | writeFile (const wxString &aFile, const wxString &aContent) |
| std::map< wxString, FileStatus > | reported (KIGIT_COMMON &aCommon, bool aChangedOnly) |
| What the status reports, keyed by repository relative path. | |
| std::map< wxString, FileStatus > | changes (KIGIT_COMMON &aCommon) |
| What the commit list offers, which is changes only. | |
| std::map< wxString, FileStatus > | treeStatus (KIGIT_COMMON &aCommon) |
| What the project tree is built from, ignored paths included. | |
| wxFileName | ignoreFile () const |
| git_repository * | repo () const |
| wxString | rules () const |
| const wxString & | TempPath () const |
| LIBGIT_BACKEND * | Backend () const |
Protected Attributes | |
| KIGIT::GitRepositoryPtr | m_repo |
| wxString | m_repoPath |
Static Private Member Functions | |
| static wxString | toWxString (const std::filesystem::path &aPath) |
Private Attributes | |
| SCOPED_GIT_BACKEND | m_backend |
| SCOPED_TEMP_DIR | m_tempDir |
| SCOPED_TEMP_DIR | m_configDir |
| SCOPED_GIT_CONFIG_SEARCH_PATH | m_configSearchPath |
| wxString | m_originalCwd |
| wxString | m_tempPath |
The project is a folder inside a larger repository, where rules have to be anchored to the project rather than the repository root.
Definition at line 263 of file test_kigit_ignore.cpp.
|
inlineinherited |
Definition at line 102 of file git_test_fixture.h.
References m_backend.
|
inlineinherited |
What the commit list offers, which is changes only.
Definition at line 84 of file test_kigit_ignore.cpp.
References reported().
|
inlineinherited |
Definition at line 91 of file test_kigit_ignore.cpp.
References KIGIT::ProjectIgnoreFile(), and projectPath().
Referenced by rules().
|
inlineoverridevirtual |
The project directory, which is where its ignore file belongs.
Reimplemented from GIT_IGNORE_FIXTURE.
Definition at line 265 of file test_kigit_ignore.cpp.
References GIT_IGNORE_FIXTURE::m_repoPath.
|
inlineinherited |
Definition at line 96 of file test_kigit_ignore.cpp.
References git_repository, and m_repo.
|
inlineinherited |
What the status reports, keyed by repository relative path.
Definition at line 69 of file test_kigit_ignore.cpp.
References GIT_STATUS_HANDLER::GetFileStatus(), GIT_STATUS_HANDLER::GetWorkingDirectory(), and path.
Referenced by changes(), and treeStatus().
|
inlineinherited |
Definition at line 100 of file test_kigit_ignore.cpp.
References BOOST_REQUIRE(), and ignoreFile().
|
inlineinherited |
Definition at line 101 of file git_test_fixture.h.
References m_tempPath.
Referenced by GIT_BACKEND_FIXTURE::GIT_BACKEND_FIXTURE(), GIT_COMPARE_FIXTURE::GIT_COMPARE_FIXTURE(), GIT_IGNORE_FIXTURE::GIT_IGNORE_FIXTURE(), GIT_BACKEND_FIXTURE::tempBase(), VCS_TEST_FIXTURE::tempDir(), and VCS_TEST_FIXTURE::VCS_TEST_FIXTURE().
|
inlinestaticprivateinherited |
Definition at line 105 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
inlineinherited |
What the project tree is built from, ignored paths included.
Definition at line 88 of file test_kigit_ignore.cpp.
References reported().
|
inlineinherited |
Definition at line 62 of file test_kigit_ignore.cpp.
References m_repoPath, and KI_TEST::WriteGitFile().
Referenced by GIT_IGNORE_FIXTURE().
|
privateinherited |
Definition at line 115 of file git_test_fixture.h.
Referenced by Backend().
|
privateinherited |
Definition at line 117 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
privateinherited |
Definition at line 118 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
privateinherited |
Definition at line 119 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE(), and ~GIT_TEST_FIXTURE().
|
protectedinherited |
Definition at line 114 of file test_kigit_ignore.cpp.
Referenced by GIT_IGNORE_FIXTURE(), and repo().
|
protectedinherited |
Definition at line 115 of file test_kigit_ignore.cpp.
Referenced by GIT_IGNORE_FIXTURE(), projectPath(), GIT_IGNORE_SUBDIR_FIXTURE::projectPath(), and writeFile().
|
privateinherited |
Definition at line 116 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
privateinherited |
Definition at line 120 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE(), and TempPath().