MCPcopy Create free account
hub / github.com/akalin/gopar / WriteFile

Method WriteFile

par1/decoder_test.go:31–38  ·  view source on GitHub ↗
(path string, data []byte)

Source from the content-addressed store, hash-verified

29}
30
31func (io testFileIO) WriteFile(path string, data []byte) (err error) {
32 io.t.Helper()
33 defer func() {
34 io.t.Helper()
35 io.t.Logf("WriteFile(%s, %d bytes) => %v", path, len(data), err)
36 }()
37 return io.fileIO.WriteFile(path, data)
38}
39
40type testDecoderDelegate struct {
41 t *testing.T

Callers

nothing calls this directly

Calls 1

WriteFileMethod · 0.65

Tested by

no test coverage detected