diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-11-27 20:13:22 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-12-20 20:02:11 -0700 |
commit | 60ca1cb76b2fef0a74cfb17837e90212631affea (patch) | |
tree | 1718c310d0f862de396b5d9b35574444f28a25d4 /lib/btrfsprogs/btrfsinspect/rebuildnodes/loops.go | |
parent | 77046dcf26687fd74df0f7966d7d469f6b6de717 (diff) |
Delete 'inspect show-loops'
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect/rebuildnodes/loops.go')
-rw-r--r-- | lib/btrfsprogs/btrfsinspect/rebuildnodes/loops.go | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/rebuildnodes/loops.go b/lib/btrfsprogs/btrfsinspect/rebuildnodes/loops.go deleted file mode 100644 index 57eb139..0000000 --- a/lib/btrfsprogs/btrfsinspect/rebuildnodes/loops.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> -// -// SPDX-License-Identifier: GPL-2.0-or-later - -package rebuildnodes - -import ( - "context" - "io" - - "github.com/datawire/dlib/dlog" - - "git.lukeshu.com/btrfs-progs-ng/lib/btrfs" - "git.lukeshu.com/btrfs-progs-ng/lib/btrfsprogs/btrfsinspect" -) - -func ShowLoops(ctx context.Context, out io.Writer, fs *btrfs.FS, nodeScanResults btrfsinspect.ScanDevicesResult) error { - scanData, err := ScanDevices(ctx, fs, nodeScanResults) - if err != nil { - return err - } - - dlog.Info(ctx, "Walking graph...") - scanData.nodeGraph.ShowLoops(out) - - return nil -} |