mirror of
https://github.com/freemkv/libfreemkv.git
synced 2026-10-07 18:13:10 +00:00
Security - Remove the unsafe Vec::set_len over recycled sector buffers — UB reachable from safe code (GHSA-j8ww-f5fg-9pmh, low). Uses Vec::resize; pooling unchanged. CI / tooling - clippy on stable with the MSRV single-sourced from Cargo.toml; cargo-deny dependency-audit gate with first-party git sources allowed (#15); audience-based comment-guard (#17). Docs - README (keydb ownership, BD-J parser count), drive-access transport/reset notes, mux timeline module-doc links.
569 B
569 B
fs_type module
The buffering architecture (Phase 2) selects different output sinks
for local vs network filesystems: NFS gets the adaptive
WritebackFile machinery on Linux; local disks get LocalFileSink
and rely on the kernel's default writeback policy. This module
provides the construction-site primitive that picks which one.
Per the per-OS file-split convention, the actual statfs call lives
in the matching platform file (linux.rs, macos.rs, windows.rs,
other.rs); this mod.rs exposes only the cross-platform enum and
the detect entry point.