MCPcopy Create free account
hub / github.com/driangle/taskmd / writeFile

Function writeFile

apps/cli/internal/sync/config_test.go:138–143  ·  view source on GitHub ↗
(t *testing.T, path, content string)

Source from the content-addressed store, hash-verified

136}
137
138func writeFile(t *testing.T, path, content string) {
139 t.Helper()
140 if err := os.WriteFile(path, []byte(content), 0644); err != nil {
141 t.Fatalf("failed to write test file: %v", err)
142 }
143}

Callers 7

TestLoadConfig_ValidFunction · 0.70
TestLoadConfig_NoSourcesFunction · 0.70
TestHashLocalFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected