MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / createFileAndCommitIt

Function createFileAndCommitIt

mob_test.go:2210–2214  ·  view source on GitHub ↗
(t *testing.T, filename string, content string, commitMessage string)

Source from the content-addressed store, hash-verified

2208}
2209
2210func createFileAndCommitIt(t *testing.T, filename string, content string, commitMessage string) {
2211 createFile(t, filename, content)
2212 git("add", filename)
2213 git("commit", "-m", commitMessage)
2214}
2215
2216func createFile(t *testing.T, filename string, content string) (pathToFile string) {
2217 return createFileInPath(t, workingDir, filename, content)

Calls 2

createFileFunction · 0.85
gitFunction · 0.85

Tested by

no test coverage detected