| 143 | } |
| 144 | |
| 145 | type GitDirectory interface { |
| 146 | CheckoutBranch(branch string, create bool) error |
| 147 | ReplaceData(data string) error |
| 148 | Commit(message string) error |
| 149 | Tag(tagName string) error |
| 150 | } |
| 151 | |
| 152 | func updateGitDir(t *testing.T, gitDir GitDirectory, changes []Content) error { |
| 153 | for _, content := range changes { |
no outgoing calls
no test coverage detected