@@ -29,7 +29,7 @@ import (
2929 "github.com/cockroachdb/pebble/internal/rangedel"
3030 "github.com/cockroachdb/pebble/internal/rangekey"
3131 "github.com/cockroachdb/pebble/internal/rawalloc"
32- "github.com/cockroachdb/pebble/internal/treeprinter "
32+ "github.com/cockroachdb/pebble/internal/treesteps "
3333)
3434
3535const (
@@ -1867,9 +1867,9 @@ func (i *batchIter) SetBounds(lower, upper []byte) {
18671867
18681868func (i * batchIter ) SetContext (_ context.Context ) {}
18691869
1870- // DebugTree is part of the InternalIterator interface.
1871- func (i * batchIter ) DebugTree ( tp treeprinter. Node ) {
1872- tp . Childf ( "%T(%p)" , i , i )
1870+ // TreeStepsNode is part of the InternalIterator interface.
1871+ func (i * batchIter ) TreeStepsNode () treesteps. NodeInfo {
1872+ return treesteps . NodeInfof ( i , "%T(%p)" , i , i )
18731873}
18741874
18751875type flushableBatchEntry struct {
@@ -2378,9 +2378,9 @@ func (i *flushableBatchIter) SetBounds(lower, upper []byte) {
23782378
23792379func (i * flushableBatchIter ) SetContext (_ context.Context ) {}
23802380
2381- // DebugTree is part of the InternalIterator interface.
2382- func (i * flushableBatchIter ) DebugTree ( tp treeprinter. Node ) {
2383- tp . Childf ( "%T(%p)" , i , i )
2381+ // TreeStepsNode is part of the InternalIterator interface.
2382+ func (i * flushableBatchIter ) TreeStepsNode () treesteps. NodeInfo {
2383+ return treesteps . NodeInfof ( i , "%T(%p)" , i , i )
23842384}
23852385
23862386// flushFlushableBatchIter is similar to flushableBatchIter but it keeps track
0 commit comments