diff options
Diffstat (limited to 'pkg/btrfs/btrfsitem/item_inoderef.go')
-rw-r--r-- | pkg/btrfs/btrfsitem/item_inoderef.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/btrfs/btrfsitem/item_inoderef.go b/pkg/btrfs/btrfsitem/item_inoderef.go new file mode 100644 index 0000000..5a271ae --- /dev/null +++ b/pkg/btrfs/btrfsitem/item_inoderef.go @@ -0,0 +1,12 @@ +package btrfsitem + +import ( + "lukeshu.com/btrfs-tools/pkg/binstruct" +) + +type InodeRef struct { // INODE_REF=12 + Index int64 `bin:"off=0x0, siz=0x8"` + NameLen int16 `bin:"off=0x8, siz=0x2"` + binstruct.End `bin:"off=0xa"` + Name []byte `bin:"-"` +} |