MCPcopy Create free account
hub / github.com/github/gh-aw / writeAWJSON

Function writeAWJSON

pkg/workflow/repo_config_test.go:372–375  ·  view source on GitHub ↗

writeAWJSON creates .github/workflows/aw.json with the given JSON content.

(t *testing.T, gitRoot, content string)

Source from the content-addressed store, hash-verified

370
371// writeAWJSON creates .github/workflows/aw.json with the given JSON content.
372func writeAWJSON(t *testing.T, gitRoot, content string) {
373 t.Helper()
374 writeAWJSONRaw(t, gitRoot, content)
375}
376
377// writeAWJSONRaw creates .github/workflows/aw.json with raw (possibly invalid) content.
378func writeAWJSONRaw(t *testing.T, gitRoot, content string) {

Calls 1

writeAWJSONRawFunction · 0.85

Tested by

no test coverage detected