diff options
Diffstat (limited to 'lib/btrfs/btrfstree/path.go')
-rw-r--r-- | lib/btrfs/btrfstree/path.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/btrfs/btrfstree/path.go b/lib/btrfs/btrfstree/path.go index 212b5df..b40c7ed 100644 --- a/lib/btrfs/btrfstree/path.go +++ b/lib/btrfs/btrfstree/path.go @@ -85,6 +85,10 @@ type TreePathElem struct { // ToNodeAddr, or 0 if this is a leaf item and nothing is // being pointed at. ToNodeLevel uint8 + // ToKey is btrfprim.Key{} this is the root node being pointed + // to, the KeyPointer.Key if this is a non-root node being + // pointed to, or the key of the leaf item being bointed to. + ToKey btrfsprim.Key } func (elem TreePathElem) writeNodeTo(w io.Writer) { |