diff options
Diffstat (limited to 'pkg/btrfs/aliases.go')
-rw-r--r-- | pkg/btrfs/aliases.go | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/btrfs/aliases.go b/pkg/btrfs/aliases.go new file mode 100644 index 0000000..22508c3 --- /dev/null +++ b/pkg/btrfs/aliases.go @@ -0,0 +1,24 @@ +package btrfs + +import ( + "lukeshu.com/btrfs-tools/pkg/btrfs/btrfsvol" + "lukeshu.com/btrfs-tools/pkg/btrfs/internal" + "lukeshu.com/btrfs-tools/pkg/util" +) + +type ( + // (u)int64 types + + Generation = internal.Generation + ObjID = internal.ObjID + LogicalAddr = btrfsvol.LogicalAddr + PhysicalAddr = btrfsvol.PhysicalAddr + AddrDelta = btrfsvol.AddrDelta + + // complex types + + Key = internal.Key + Time = internal.Time + UUID = util.UUID + QualifiedPhysicalAddr = btrfsvol.QualifiedPhysicalAddr +) |