MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / writeToFile

Function writeToFile

tools/mage/go.go:67–69  ·  view source on GitHub ↗
(filename string, value []byte)

Source from the content-addressed store, hash-verified

65}
66
67func writeToFile(filename string, value []byte) error {
68 return os.WriteFile(filename, value, 0o644)
69}
70
71func outputGo(cmd string, args ...string) (string, error) {
72 var buf bytes.Buffer

Callers 1

InitStackMethod · 0.85

Calls 1

WriteFileMethod · 0.80

Tested by

no test coverage detected