MCPcopy Index your code
hub / github.com/go-python/gopy / WriteToFile

Function WriteToFile

_examples/osfile/osfile.go:25–30  ·  view source on GitHub ↗
(w io.Writer, str string)

Source from the content-addressed store, hash-verified

23}
24
25func WriteToFile(w io.Writer, str string) {
26 _, err := w.Write([]byte(str))
27 if err != nil {
28 log.Println(err)
29 }
30}

Callers

nothing calls this directly

Calls 2

WriteMethod · 0.80
PrintlnMethod · 0.80

Tested by

no test coverage detected