objects

package
v0.0.0-...-d5f1c63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectInspector

type ObjectInspector struct {
	Obj *types.ObjPhysT
}

ObjectInspector implements ObjectTypeInspector for a given ObjPhysT

func NewObjectInspector

func NewObjectInspector(obj *types.ObjPhysT) *ObjectInspector

func (*ObjectInspector) HasHeader

func (o *ObjectInspector) HasHeader() bool

func (*ObjectInspector) IsEncrypted

func (o *ObjectInspector) IsEncrypted() bool

func (*ObjectInspector) IsEphemeral

func (o *ObjectInspector) IsEphemeral() bool

func (*ObjectInspector) IsNonpersistent

func (o *ObjectInspector) IsNonpersistent() bool

func (*ObjectInspector) IsPhysical

func (o *ObjectInspector) IsPhysical() bool

func (*ObjectInspector) IsVirtual

func (o *ObjectInspector) IsVirtual() bool

func (*ObjectInspector) Subtype

func (o *ObjectInspector) Subtype() uint32

func (*ObjectInspector) Type

func (o *ObjectInspector) Type() uint32

func (*ObjectInspector) TypeName

func (o *ObjectInspector) TypeName() string

type ObjectTypeInfo

type ObjectTypeInfo struct {
	// Numeric type identifier
	Type uint32

	// Human-readable name
	Name string

	// Detailed description
	Description string

	// Categorization (e.g., metadata, file system, container)
	Category string
}

ObjectTypeInfo contains detailed information about an APFS object type

type StaticObjectRegistry

type StaticObjectRegistry struct {
	// contains filtered or unexported fields
}

func NewStaticObjectRegistry

func NewStaticObjectRegistry() *StaticObjectRegistry

NewStaticObjectRegistry initializes a hardcoded APFS object registry

func (*StaticObjectRegistry) ListObjectTypes

func (r *StaticObjectRegistry) ListObjectTypes() []ObjectTypeInfo

func (*StaticObjectRegistry) LookupType

func (r *StaticObjectRegistry) LookupType(objectType uint32) (ObjectTypeInfo, bool)

type StaticObjectTypeResolver

type StaticObjectTypeResolver struct {
	// contains filtered or unexported fields
}

func NewStaticObjectTypeResolver

func NewStaticObjectTypeResolver() *StaticObjectTypeResolver

func (*StaticObjectTypeResolver) GetObjectTypeCategory

func (r *StaticObjectTypeResolver) GetObjectTypeCategory(objectType uint32) string

func (*StaticObjectTypeResolver) ResolveType

func (r *StaticObjectTypeResolver) ResolveType(objectType uint32) string

func (*StaticObjectTypeResolver) SupportedObjectTypes

func (r *StaticObjectTypeResolver) SupportedObjectTypes() []uint32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL