MCPcopy Create free account
hub / github.com/cloudflare/artifact-fs / assertPathExists

Function assertPathExists

e2e_git_test.go:524–529  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

522 }
523 assertGitStatus(t, repo.mountPath, map[string]string{"README.md": "MM"})
524
525 preCommitHEAD := strings.TrimSpace(gitCmd(t, repo.mountPath, "rev-parse", "HEAD"))
526 gitCmd(t, repo.mountPath,
527 "-c", "user.name=E2E Test",
528 "-c", "user.email=e2e@test",
529 "commit", "-m", "commit staged readme change",
530 )
531
532 waitForHeadAndStatus(t, repo.mountPath, preCommitHEAD, map[string]string{"README.md": " M"})

Calls

no outgoing calls

Tested by

no test coverage detected