Documentation ¶
Index ¶
- type GPTFs
- type GptPartitionTable
- 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
- type PartitionEntry
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPTFs ¶
type GPTFs struct {
// contains filtered or unexported fields
}
func New ¶
func New(decoder io.ReadSeeker) (*GPTFs, error)
func (*GPTFs) Open ¶
func (m *GPTFs) Open(name string) (forensicfs.ForensicItem, error)
Open returns a afero.File for the given location
type GptPartitionTable ¶
type GptPartitionTable struct {
// contains filtered or unexported fields
}
func (*GptPartitionTable) Backup ¶
func (k *GptPartitionTable) Backup() (value *PartitionHeader)
func (*GptPartitionTable) Decode ¶
func (k *GptPartitionTable) Decode(reader io.ReadSeeker, ancestors ...interface{}) (err error)
func (*GptPartitionTable) Parent ¶
func (k *GptPartitionTable) Parent() *GptPartitionTable
func (*GptPartitionTable) Primary ¶
func (k *GptPartitionTable) Primary() (value *PartitionHeader)
func (*GptPartitionTable) Root ¶
func (k *GptPartitionTable) Root() *GptPartitionTable
func (*GptPartitionTable) SectorSize ¶
func (k *GptPartitionTable) SectorSize() (value int64)
type Partition ¶
type Partition struct { forensicfs.ForensicFileDefaults *io.SectionReader // contains filtered or unexported fields }
func NewPartition ¶
func NewPartition(name int, partition *PartitionEntry) *Partition
type PartitionEntry ¶
type PartitionEntry struct {
// contains filtered or unexported fields
}
func (*PartitionEntry) Attributes ¶
func (k *PartitionEntry) Attributes() (value uint64)
func (*PartitionEntry) Decode ¶
func (k *PartitionEntry) Decode(reader io.ReadSeeker, ancestors ...interface{}) (err error)
func (*PartitionEntry) FirstLba ¶
func (k *PartitionEntry) FirstLba() (value uint64)
func (*PartitionEntry) Guid ¶
func (k *PartitionEntry) Guid() (value []byte)
func (*PartitionEntry) LastLba ¶
func (k *PartitionEntry) LastLba() (value uint64)
func (*PartitionEntry) Name ¶
func (k *PartitionEntry) Name() (value []byte)
func (*PartitionEntry) Parent ¶
func (k *PartitionEntry) Parent() *PartitionHeader
func (*PartitionEntry) Root ¶
func (k *PartitionEntry) Root() *GptPartitionTable
func (*PartitionEntry) TypeGuid ¶
func (k *PartitionEntry) TypeGuid() (value []byte)
type PartitionHeader ¶
type PartitionHeader struct {
// contains filtered or unexported fields
}
func (*PartitionHeader) BackupLba ¶
func (k *PartitionHeader) BackupLba() (value uint64)
func (*PartitionHeader) Crc32Array ¶
func (k *PartitionHeader) Crc32Array() (value uint32)
func (*PartitionHeader) Crc32Header ¶
func (k *PartitionHeader) Crc32Header() (value uint32)
func (*PartitionHeader) CurrentLba ¶
func (k *PartitionHeader) CurrentLba() (value uint64)
func (*PartitionHeader) Decode ¶
func (k *PartitionHeader) Decode(reader io.ReadSeeker, ancestors ...interface{}) (err error)
func (*PartitionHeader) DiskGuid ¶
func (k *PartitionHeader) DiskGuid() (value []byte)
func (*PartitionHeader) Entries ¶
func (k *PartitionHeader) Entries() (value []PartitionEntry)
func (*PartitionHeader) EntriesCount ¶
func (k *PartitionHeader) EntriesCount() (value uint32)
func (*PartitionHeader) EntriesSize ¶
func (k *PartitionHeader) EntriesSize() (value uint32)
func (*PartitionHeader) EntriesStart ¶
func (k *PartitionHeader) EntriesStart() (value uint64)
func (*PartitionHeader) FirstUsableLba ¶
func (k *PartitionHeader) FirstUsableLba() (value uint64)
func (*PartitionHeader) HeaderSize ¶
func (k *PartitionHeader) HeaderSize() (value uint32)
func (*PartitionHeader) LastUsableLba ¶
func (k *PartitionHeader) LastUsableLba() (value uint64)
func (*PartitionHeader) Parent ¶
func (k *PartitionHeader) Parent() *GptPartitionTable
func (*PartitionHeader) Reserved ¶
func (k *PartitionHeader) Reserved() (value uint32)
func (*PartitionHeader) Revision ¶
func (k *PartitionHeader) Revision() (value uint32)
func (*PartitionHeader) Root ¶
func (k *PartitionHeader) Root() *GptPartitionTable
func (*PartitionHeader) Signature ¶
func (k *PartitionHeader) Signature() (value []byte)
type Root ¶
type Root struct { forensicfs.ForensicFolderDefaults // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.