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

Method WriteFile

par1/file_io.go:16–18  ·  view source on GitHub ↗
(path string, data []byte)

Source from the content-addressed store, hash-verified

14}
15
16func (io defaultFileIO) WriteFile(path string, data []byte) error {
17 return ioutil.WriteFile(path, data, 0600)
18}

Callers

nothing calls this directly

Calls 1

WriteFileMethod · 0.65

Tested by

no test coverage detected