diff options
Diffstat (limited to 'lib/btrfs/btrfstree/path.go')
-rw-r--r-- | lib/btrfs/btrfstree/path.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/btrfs/btrfstree/path.go b/lib/btrfs/btrfstree/path.go index b40c7ed..d9bf216 100644 --- a/lib/btrfs/btrfstree/path.go +++ b/lib/btrfs/btrfstree/path.go @@ -85,10 +85,14 @@ 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 + // ToKey is either + // - btrfprim.Key{} if 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 pointed to. + ToKey btrfsprim.Key + ToMaxKey btrfsprim.Key } func (elem TreePathElem) writeNodeTo(w io.Writer) { |