MCPcopy Create free account
hub / github.com/bmatsuo/csvutil / WriteFile

Function WriteFile

file.go:48–62  ·  view source on GitHub ↗

Write CSV data to a named file. If the file does not exist, it is created. If the file exists, it is truncated upon opening. Requires that file permissions be specified. Recommended permissions are 0600, 0622, and 0666 (6:rw, 4:w, 2:r).

(filename string, perm os.FileMode, rows [][]string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestWriteFileFunction · 0.85

Calls 1

WriteFunction · 0.85

Tested by 1

TestWriteFileFunction · 0.68