summaryrefslogtreecommitdiff
path: root/pkg/btrfs/btrfsitem/item_uuid.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-07-10 13:18:30 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-07-10 13:35:20 -0600
commit27401b6ea459921a6152ab1744da1618358465f4 (patch)
tree2c4f9c096f1a593e65d7f824901e815ca48bfaf0 /pkg/btrfs/btrfsitem/item_uuid.go
parent42f6f78e0a32ba0eda707154f8e1ffb4579604ee (diff)
Rename the module, mv pkg lib
Diffstat (limited to 'pkg/btrfs/btrfsitem/item_uuid.go')
-rw-r--r--pkg/btrfs/btrfsitem/item_uuid.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/pkg/btrfs/btrfsitem/item_uuid.go b/pkg/btrfs/btrfsitem/item_uuid.go
deleted file mode 100644
index 45543b3..0000000
--- a/pkg/btrfs/btrfsitem/item_uuid.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package btrfsitem
-
-import (
- "lukeshu.com/btrfs-tools/pkg/binstruct"
- "lukeshu.com/btrfs-tools/pkg/btrfs/internal"
-)
-
-// The Key for this item is a UUID, and the item is a subvolume IDs
-// that that UUID maps to.
-//
-// key.objectid = first half of UUID
-// key.offset = second half of UUID
-type UUIDMap struct { // UUID_SUBVOL=251 UUID_RECEIVED_SUBVOL=252
- ObjID internal.ObjID `bin:"off=0, siz=8"`
- binstruct.End `bin:"off=8"`
-}