MCPcopy Create free account
hub / github.com/gravityblast/fresh / createBuildErrorsLog

Function createBuildErrorsLog

runner/utils.go:71–83  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

69}
70
71func createBuildErrorsLog(message string) bool {
72 file, err := os.Create(buildErrorsFilePath())
73 if err != nil {
74 return false
75 }
76
77 _, err = file.WriteString(message)
78 if err != nil {
79 return false
80 }
81
82 return true
83}
84
85func removeBuildErrorsLog() error {
86 err := os.Remove(buildErrorsFilePath())

Callers 1

startFunction · 0.85

Calls 1

buildErrorsFilePathFunction · 0.85

Tested by

no test coverage detected