Expand description
The folder scope — the heart of the app’s least-privilege file access.
The app can read a path only when it lies inside a folder the user granted with the native
picker. Grants are persisted (a JSON file in the app’s data directory), listed in the UI and
revocable. Every path is canonicalised before it is compared, so .. segments and symlinks that
leave a granted folder are refused; broad or sensitive locations can never be granted.
Structs§
- Scope
Store - Scoped
Path - A path the scope let through: canonical, inside a granted folder (or a file dropped this session), not sensitive.