Matteo Scandolo | abf872d | 2020-12-14 08:22:06 -1000 | [diff] [blame] | 1 | // Copyright 2017, The Go Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style | ||||
3 | // license that can be found in the LICENSE.md file. | ||||
4 | |||||
5 | // +build !cmp_debug | ||||
6 | |||||
7 | package diff | ||||
8 | |||||
9 | var debug debugger | ||||
10 | |||||
11 | type debugger struct{} | ||||
12 | |||||
13 | func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc { | ||||
14 | return f | ||||
15 | } | ||||
16 | func (debugger) Update() {} | ||||
17 | func (debugger) Finish() {} |