Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
67
func
writeToFile(filename string, value []byte) error {
68
return
os.WriteFile(filename, value, 0o644)
69
}
70
71
func
outputGo(cmd string, args ...string) (string, error) {
72
var
buf bytes.Buffer
Callers
1
InitStack
Method · 0.85
Calls
1
WriteFile
Method · 0.80
Tested by
no test coverage detected