(t *testing.T)
| 74 | } |
| 75 | |
| 76 | func createBareTestRepo(t *testing.T) *Repository { |
| 77 | // figure out where we can create the test repo |
| 78 | path, err := ioutil.TempDir("", "git2go") |
| 79 | checkFatal(t, err) |
| 80 | repo, err := InitRepository(path, true) |
| 81 | checkFatal(t, err) |
| 82 | |
| 83 | return repo |
| 84 | } |
| 85 | |
| 86 | // commitOptions contains any extra options for creating commits in the seed repo |
| 87 | type commitOptions struct { |
no test coverage detected
searching dependent graphs…