Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [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 !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() {} |