diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-02 17:25:49 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-15 08:03:53 -0600 |
commit | 7349ff1a01b29eae7f7e769fe44548f09c253d2b (patch) | |
tree | 9c90528f551f2f5fdb1f21cf725d984ddfcfd0c0 /cmd/btrfs-rec/inspect/dumptrees/print_tree.go | |
parent | 135adfcd6a0593218daec2657603f61ae49c6130 (diff) |
tree-wide: Have "interior" rather than "internal" be the antonym of "leaf"
Because "internal" has a meaning in the Go world, and it's confusing.
Diffstat (limited to 'cmd/btrfs-rec/inspect/dumptrees/print_tree.go')
-rw-r--r-- | cmd/btrfs-rec/inspect/dumptrees/print_tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-rec/inspect/dumptrees/print_tree.go b/cmd/btrfs-rec/inspect/dumptrees/print_tree.go index 676306a..b7e7552 100644 --- a/cmd/btrfs-rec/inspect/dumptrees/print_tree.go +++ b/cmd/btrfs-rec/inspect/dumptrees/print_tree.go @@ -375,7 +375,7 @@ func printTree(ctx context.Context, out io.Writer, fs *btrfs.FS, treeID btrfspri // printHeaderInfo mimics btrfs-progs kernel-shared/print-tree.c:print_header_info() func printHeaderInfo(out io.Writer, node btrfstree.Node) { var typename string - if node.Head.Level > 0 { // internal node + if node.Head.Level > 0 { // interior node typename = "node" textui.Fprintf(out, "node %v level %v items %v free space %v", node.Head.Addr, |