Skip to main content

Crate fsk

Crate fsk 

Source
Expand description

High-performance virtual and network filesystems for macOS, Linux, and Windows.

Backends implement Filesystem (and optionally NetworkFilesystem) against one portable data model. Platform adapters use FSKit on macOS, FUSE on Linux, and ProjFS on Windows. Opt-in raw events expose native requests without adding allocations to the default path.

This crate provides no filesystem implementation or storage policy. Inode indexing, caching, synchronization, consistency, and persistence belong to the downstream type implementing Filesystem.

Modules§

raw
Opt-in borrowed native requests and callback buffers.

Structs§

DirectoryEntry
Error
A filesystem error represented by FSK’s stable, positive error code.
LocalFile
A locally materialized file managed by a network backend.
Metadata
Mount
The resource supplied by macOS when mounting a network filesystem.
MountOptions
MountSession
NetworkConfiguration
Network-specific behavior communicated to the Swift FSKit layer.
ReadDirectoryResult
SetMetadata
StatFs

Enums§

FileType
KernelCachePolicy
The kernel caching behavior requested by a network backend.
NetworkFile
The data source selected when FSKit opens a network file.

Constants§

ABI_VERSION
Version of the C ABI implemented by this crate.
ROOT_INODE
The root inode. Platform adapters treat inode values as opaque identifiers.

Traits§

DirectorySink
Filesystem
Cross-platform filesystem operations.
NetworkFilesystem
Additional lifecycle hooks for lazy network filesystems.

Functions§

now_ns

Type Aliases§

Result