Back to Cherry Studio

File Reference

docs/references/file/README.md

2.0.81.1 KB
Original Source

File Reference

The file domain covers persistent managed entries, filesystem-backed IPC, live directory trees, background cleanup, and the legacy directory-listing/search surface. Start with the module architecture for ownership and transport selection; use the narrower documents for implementation contracts.

DocumentWhat it covers
File Module ArchitectureOwnership, current shared types, DataApi/IpcApi split, legacy preload surface, and business references
FileManager ArchitectureStorage, entry lifecycle, atomic writes, external liveness, watcher, caches, and orphan sweeps
Directory Tree ArchitectureBuilder/manager ownership, snapshot activation, mutation stream, renderer mirror, and cleanup
File Entry CleanupPolicy-based scan that reclaims old unreferenced automatic entries
Fuzzy Search for Directory ListingsLegacy listing modes, ripgrep-backed fuzzy matching, ranking, exclusions, and errors