TestGitRepo manages a local git repository for testing
| 54 | |
| 55 | // TestGitRepo manages a local git repository for testing |
| 56 | type TestGitRepo struct { |
| 57 | // RepoDirectory is the temp directory of the git repo |
| 58 | RepoDirectory string |
| 59 | |
| 60 | // DatasetDirectory is the directory of the testdata files |
| 61 | DatasetDirectory string |
| 62 | |
| 63 | // RepoName is the name of the repository |
| 64 | RepoName string |
| 65 | } |
| 66 | |
| 67 | var AssertNoError = assertnow.NilError |
| 68 |
nothing calls this directly
no outgoing calls
no test coverage detected