diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-01 09:31:35 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-01 09:31:35 -0600 |
commit | b9fa008b4911a534ff49d191539b57d60cc04663 (patch) | |
tree | ea4aac66c6b187b9522f95c597ed8f7041cd0545 /pkg/btrfs/btrfsitem/items_gen.go | |
parent | 539787e5f70776db02e37f74048f9acec2171b0e (diff) |
Add an Item interface
Diffstat (limited to 'pkg/btrfs/btrfsitem/items_gen.go')
-rw-r--r-- | pkg/btrfs/btrfsitem/items_gen.go | 29 |
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() {} |