Skip to main content

Module types

Module types 

Source
Expand description

The filesystem-agnostic value types the FUSE/Dokan mount layer speaks.

These are 4n6mount’s own FUSE-facing vocabulary — a small, u64-inode, serde-friendly model that the mount callbacks (getattr/readdir/read/…) consume directly. A concrete backend (the memory VFS, or the disk-image EngineFs adapter over forensic-vfs) converts its native representation into these types via the ForensicFs trait.

Structs§

FsBlockRange
A contiguous range of blocks.
FsDeletedInode
Deleted inode information.
FsDeletedNode
A recovered deleted (or orphaned) node carrying the identity a consumer needs to render and read it: a readable inode, the recovered name, the parent inode (or None for an orphan), the metadata record id, and MACB times. Unlike FsDeletedInode (bare inode + size), this is the rich surface backing in-place vs $Orphans placement — the name is never fabricated (empty when the filesystem destroyed it on delete).
FsDirEntry
Filesystem-agnostic directory entry.
FsMetadata
Filesystem-agnostic file metadata.
FsRecoveryResult
Result of attempting to recover a deleted file.
FsTimelineEvent
A timeline event.
FsTimestamp
Filesystem-agnostic timestamp.
FsTransaction
A journal transaction.

Enums§

FsAllocation
Name/metadata-layer allocation status of a recovered node. Allocated never appears here (a recovered node is unlinked by definition).
FsError
Error type for ForensicFs operations.
FsEventType
Type of filesystem event.
FsFileType
Filesystem-agnostic file type.

Functions§

not_found
Helper to create a “not found” error.
not_supported
Helper to create a “not supported” error.

Type Aliases§

FsResult
Convenience alias.