mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
debug: fix typos
This commit is contained in:
parent
4f4f3c421a
commit
8e8f31d3fe
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
func Break(tag string) {
|
||||
// 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
|
||||
// fn is true.
|
||||
func BreakIf(tag string, fn func() bool) {
|
||||
|
|
Loading…
Reference in a new issue