MCPcopy Index your code
hub / github.com/rclone/rclone / debug

Method debug

cmd/bisync/operations.go:623–627  ·  view source on GitHub ↗
(nametocheck, msgiftrue string)

Source from the content-addressed store, hash-verified

621}
622
623func (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
629func (b *bisyncRun) debugFn(nametocheck string, fn func()) {
630 if b.DebugName != "" && b.DebugName == nametocheck {

Callers 4

modifyListingMethod · 0.95
prepareRollbackMethod · 0.95
applyDeltasMethod · 0.95
runLockedMethod · 0.95

Calls 2

InfocFunction · 0.92
ColorFunction · 0.85

Tested by

no test coverage detected