summaryrefslogtreecommitdiff
path: root/pkg/btrfs/btrfsitem/item_inoderef.go
blob: 5a271aec761708b1983b9fcf93602c24606b3cae (plain)
1
2
3
4
5
6
7
8
9
10
11
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:"-"`
}