summaryrefslogtreecommitdiff
path: root/pkg/btrfs/btrfsitem/items_gen.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-06-01 09:31:35 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-06-01 09:31:35 -0600
commitb9fa008b4911a534ff49d191539b57d60cc04663 (patch)
treeea4aac66c6b187b9522f95c597ed8f7041cd0545 /pkg/btrfs/btrfsitem/items_gen.go
parent539787e5f70776db02e37f74048f9acec2171b0e (diff)
Add an Item interface
Diffstat (limited to 'pkg/btrfs/btrfsitem/items_gen.go')
-rw-r--r--pkg/btrfs/btrfsitem/items_gen.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkg/btrfs/btrfsitem/items_gen.go b/pkg/btrfs/btrfsitem/items_gen.go
new file mode 100644
index 0000000..5234c96
--- /dev/null
+++ b/pkg/btrfs/btrfsitem/items_gen.go
@@ -0,0 +1,29 @@
+package btrfsitem
+
+import "lukeshu.com/btrfs-tools/pkg/btrfs/internal"
+
+const (
+ CHUNK_ITEM_KEY = internal.CHUNK_ITEM_KEY
+ DEV_ITEM_KEY = internal.DEV_ITEM_KEY
+ DEV_EXTENT_KEY = internal.DEV_EXTENT_KEY
+ UNTYPED_KEY = internal.UNTYPED_KEY
+ QGROUP_RELATION_KEY = internal.QGROUP_RELATION_KEY
+ INODE_ITEM_KEY = internal.INODE_ITEM_KEY
+ INODE_REF_KEY = internal.INODE_REF_KEY
+ ORPHAN_ITEM_KEY = internal.ORPHAN_ITEM_KEY
+ PERSISTENT_ITEM_KEY = internal.PERSISTENT_ITEM_KEY
+ ROOT_ITEM_KEY = internal.ROOT_ITEM_KEY
+ UUID_SUBVOL_KEY = internal.UUID_SUBVOL_KEY
+ UUID_RECEIVED_SUBVOL_KEY = internal.UUID_RECEIVED_SUBVOL_KEY
+)
+
+func (Chunk) isItem() {}
+func (Dev) isItem() {}
+func (DevExtent) isItem() {}
+func (DevStats) isItem() {}
+func (Empty) isItem() {}
+func (Inode) isItem() {}
+func (InodeRef) isItem() {}
+func (Orphan) isItem() {}
+func (Root) isItem() {}
+func (UUIDMap) isItem() {}