xref: /aosp_15_r20/external/go-cmp/cmp/internal/diff/debug_disable.go (revision 88d15eac089d7f20c739ff1001d56b91872b21a1)
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 file.
4
5//go:build !cmp_debug
6// +build !cmp_debug
7
8package diff
9
10var debug debugger
11
12type debugger struct{}
13
14func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc {
15	return f
16}
17func (debugger) Update() {}
18func (debugger) Finish() {}
19