CompDebugln prints the specified string with a newline at the end to the same file as where the completion script prints its logs. Such logs are only printed when the user has set the environment variable BASH_COMP_DEBUG_FILE to the path of some file to be used.
(msg string, printToStdErr bool)
| 974 | // Such logs are only printed when the user has set the environment |
| 975 | // variable BASH_COMP_DEBUG_FILE to the path of some file to be used. |
| 976 | func CompDebugln(msg string, printToStdErr bool) { |
| 977 | CompDebug(fmt.Sprintf("%s\n", msg), printToStdErr) |
| 978 | } |
| 979 | |
| 980 | // CompError prints the specified completion message to stderr. |
| 981 | func CompError(msg string) { |
nothing calls this directly
no test coverage detected