MCPcopy Create free account
hub / github.com/gokcehan/lf / echoerr

Method echoerr

ui.go:593–596  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

591}
592
593func (ui *ui) echoerr(msg string) {
594 ui.echo(fmt.Sprintf(optionToFmtstr(gOpts.errorfmt), sanitizeName(msg)))
595 log.Printf("error: %s", msg)
596}
597
598func (ui *ui) echoerrf(format string, a ...any) {
599 ui.echoerr(fmt.Sprintf(format, a...))

Callers 6

echoerrfMethod · 0.95
evalMethod · 0.80
evalMethod · 0.80
insertFunction · 0.80
evalMethod · 0.80
loopMethod · 0.80

Calls 3

echoMethod · 0.95
optionToFmtstrFunction · 0.85
sanitizeNameFunction · 0.85

Tested by

no test coverage detected