Documentation
¶
Index ¶
- type ObjectInspector
- func (o *ObjectInspector) HasHeader() bool
- func (o *ObjectInspector) IsEncrypted() bool
- func (o *ObjectInspector) IsEphemeral() bool
- func (o *ObjectInspector) IsNonpersistent() bool
- func (o *ObjectInspector) IsPhysical() bool
- func (o *ObjectInspector) IsVirtual() bool
- func (o *ObjectInspector) Subtype() uint32
- func (o *ObjectInspector) Type() uint32
- func (o *ObjectInspector) TypeName() string
- type ObjectTypeInfo
- type StaticObjectRegistry
- type StaticObjectTypeResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectInspector ¶
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
Click to show internal directories.
Click to hide internal directories.