Versions in this module Expand all Collapse all v0 v0.15.1 Aug 2, 2021 v0.15.0 Feb 18, 2021 Changes in this version + type FS struct + func New(decoder io.ReadSeeker) (*FS, error) + func (fsys *FS) Open(name string) (fs.File, error) + type GptPartitionTable struct + func (k *GptPartitionTable) Backup() (value *PartitionHeader) + func (k *GptPartitionTable) Decode(reader io.ReadSeeker, ancestors ...interface{}) (err error) + func (k *GptPartitionTable) Parent() *GptPartitionTable + func (k *GptPartitionTable) Primary() (value *PartitionHeader) + func (k *GptPartitionTable) Root() *GptPartitionTable + func (k *GptPartitionTable) SectorSize() (value int64) + type Partition struct + func NewPartition(name int, partition *PartitionEntry) *Partition + func (*Partition) IsDir() bool + func (p *Partition) Close() error + func (p *Partition) Info() (fs.FileInfo, error) + func (p *Partition) ModTime() time.Time + func (p *Partition) Mode() fs.FileMode + func (p *Partition) Name() string + func (p *Partition) Size() int64 + func (p *Partition) Stat() (fs.FileInfo, error) + func (p *Partition) Sys() interface{} + func (p *Partition) Type() fs.FileMode + type PartitionEntry struct + func (k *PartitionEntry) Attributes() (value uint64) + func (k *PartitionEntry) Decode(reader io.ReadSeeker, ancestors ...interface{}) (err error) + func (k *PartitionEntry) FirstLba() (value uint64) + func (k *PartitionEntry) Guid() (value []byte) + func (k *PartitionEntry) LastLba() (value uint64) + func (k *PartitionEntry) Name() (value []byte) + func (k *PartitionEntry) Parent() *PartitionHeader + func (k *PartitionEntry) Root() *GptPartitionTable + func (k *PartitionEntry) TypeGuid() (value []byte) + type PartitionHeader struct + func (k *PartitionHeader) BackupLba() (value uint64) + func (k *PartitionHeader) Crc32Array() (value uint32) + func (k *PartitionHeader) Crc32Header() (value uint32) + func (k *PartitionHeader) CurrentLba() (value uint64) + func (k *PartitionHeader) Decode(reader io.ReadSeeker, ancestors ...interface{}) (err error) + func (k *PartitionHeader) DiskGuid() (value []byte) + func (k *PartitionHeader) Entries() (value []PartitionEntry) + func (k *PartitionHeader) EntriesCount() (value uint32) + func (k *PartitionHeader) EntriesSize() (value uint32) + func (k *PartitionHeader) EntriesStart() (value uint64) + func (k *PartitionHeader) FirstUsableLba() (value uint64) + func (k *PartitionHeader) HeaderSize() (value uint32) + func (k *PartitionHeader) LastUsableLba() (value uint64) + func (k *PartitionHeader) Parent() *GptPartitionTable + func (k *PartitionHeader) Reserved() (value uint32) + func (k *PartitionHeader) Revision() (value uint32) + func (k *PartitionHeader) Root() *GptPartitionTable + func (k *PartitionHeader) Signature() (value []byte) + type Root struct + func (r *Root) Close() error + func (r *Root) IsDir() bool + func (r *Root) ModTime() time.Time + func (r *Root) Mode() fs.FileMode + func (r *Root) Name() string + func (r *Root) Read([]byte) (int, error) + func (r *Root) ReadDir(n int) ([]fs.DirEntry, error) + func (r *Root) Size() int64 + func (r *Root) Stat() (fs.FileInfo, error) + func (r *Root) Sys() interface{}