-
feat: Significantly faster & better per-platform optimized file walking & gitignore matcher (#645)
发布于
2026-07-02 22:39:47 +00:00 | 112 次提交 在此版本后已推送到 main-
feat: Zlob walker
-
feat: Use outcome gitignore rules
; Conflicts:
; crates/fff-core/src/file_picker.rs
; crates/fff-core/tests/scan_correctness_contract.rs-
chore: get rid of ripgrep crates in default build
-
refactor: use '/' as canonical internal path separator
The zlob walker emits '/'-separated relative paths on every platform.
Instead of converting every walked path to native '' on Windows, make
'/' the canonical internal separator throughout the index and convert
native inputs to '/' on the (fewer) inbound lookup paths.Native separators are re-applied only at OS/state boundaries:
- write_absolute_path nativizes for git-cache keys, frecency, Win32 APIs
- frecency keys additionally canonicalize on Windows (dunce), with a
raw-string fallback so watcher deletes never drop the op
Removes several scattered Windows compensations (score.rs fuzzy folds,
constraints.rs collect fold) now that stored paths are already '/'.
relative_path emitted to Lua is now '/' on all platforms.下载附件
-