diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-07-25 12:55:44 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-07-25 12:55:44 -0600 |
commit | b3ef47542802ecd06498a2fc3a87ce26f7bc1e98 (patch) | |
tree | 7345d8fb1b1d6b0221b6fac81e8c5c96cb6ed4d4 /cmd/btrfs-rec/inspect/rebuildmappings/scan.go | |
parent | c57cc3d4739ffa0346350c63fb4ec59a63b56e46 (diff) | |
parent | b581d0ceb3cd0fee2e78c677bb0805cc68115661 (diff) |
Merge branch 'lukeshu/process-without-pv'
Diffstat (limited to 'cmd/btrfs-rec/inspect/rebuildmappings/scan.go')
-rw-r--r-- | cmd/btrfs-rec/inspect/rebuildmappings/scan.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/btrfs-rec/inspect/rebuildmappings/scan.go b/cmd/btrfs-rec/inspect/rebuildmappings/scan.go index 9454ca0..d689136 100644 --- a/cmd/btrfs-rec/inspect/rebuildmappings/scan.go +++ b/cmd/btrfs-rec/inspect/rebuildmappings/scan.go @@ -25,6 +25,11 @@ import ( // Result types //////////////////////////////////////////////////////////////// +type ScanResult struct { + Mappings []btrfsvol.Mapping + Devices ScanDevicesResult +} + type ScanDevicesResult = map[btrfsvol.DeviceID]ScanOneDeviceResult type ScanOneDeviceResult struct { |