(nametocheck, msgiftrue string)
| 621 | } |
| 622 | |
| 623 | func (b *bisyncRun) debug(nametocheck, msgiftrue string) { |
| 624 | if b.DebugName != "" && b.DebugName == nametocheck { |
| 625 | fs.Infoc(Color(terminal.MagentaBg, "DEBUGNAME "+b.DebugName), Color(terminal.MagentaBg, msgiftrue)) |
| 626 | } |
| 627 | } |
| 628 | |
| 629 | func (b *bisyncRun) debugFn(nametocheck string, fn func()) { |
| 630 | if b.DebugName != "" && b.DebugName == nametocheck { |
no test coverage detected