diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-01 21:48:56 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-01 21:48:56 -0600 |
commit | 22c72e497425dd24695f5ee8f883c977c7e38db6 (patch) | |
tree | 2cc2546a56ba3d2ad50f8b4309f19f173549eb2a /cmd/btrfs-ls-trees/main.go | |
parent | 46c859edf45784ce099434bd967b352165801c85 (diff) |
rename WalkTree→TreeWalk
Diffstat (limited to 'cmd/btrfs-ls-trees/main.go')
-rw-r--r-- | cmd/btrfs-ls-trees/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/btrfs-ls-trees/main.go b/cmd/btrfs-ls-trees/main.go index c3156f5..96638ed 100644 --- a/cmd/btrfs-ls-trees/main.go +++ b/cmd/btrfs-ls-trees/main.go @@ -45,8 +45,8 @@ func Main(imgfilenames ...string) (err error) { Err: func(_ error) { treeErrCnt++ }, - WalkTreeHandler: btrfs.WalkTreeHandler{ - Item: func(_ btrfs.WalkTreePath, item btrfs.Item) error { + TreeWalkHandler: btrfs.TreeWalkHandler{ + Item: func(_ btrfs.TreeWalkPath, item btrfs.Item) error { typ := item.Head.Key.ItemType treeItemCnt[typ] = treeItemCnt[typ] + 1 return nil |