mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 14:56:29 +00:00
debug: fix typos
This commit is contained in:
parent
4f4f3c421a
commit
8e8f31d3fe
@ -148,7 +148,7 @@ func Log(tag string, f string, args ...interface{}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Break stopts the program if the debug tag is active and the string in tag is
|
// Break stops the program if the debug tag is active and the string in tag is
|
||||||
// contained in the DEBUG_BREAK environment variable.
|
// contained in the DEBUG_BREAK environment variable.
|
||||||
func Break(tag string) {
|
func Break(tag string) {
|
||||||
// check if breaking is enabled
|
// check if breaking is enabled
|
||||||
@ -169,7 +169,7 @@ func Break(tag string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// BreakIf stopts the program if the debug tag is active and the string in tag
|
// BreakIf stops the program if the debug tag is active and the string in tag
|
||||||
// is contained in the DEBUG_BREAK environment variable and the return value of
|
// is contained in the DEBUG_BREAK environment variable and the return value of
|
||||||
// fn is true.
|
// fn is true.
|
||||||
func BreakIf(tag string, fn func() bool) {
|
func BreakIf(tag string, fn func() bool) {
|
||||||
|
Loading…
Reference in New Issue
Block a user