Expand description
Listing and previewing files — always through the scope (ScopeStore::resolve), never directly.
Structs§
- Entry
- Limits
- The limits of one call. The app passes what it needs (
Nonekeeps the kit default); a value above the hard ceiling is lowered to it, and a zero is raised to one, so no call is unbounded or empty. - Listing
- Preview
Enums§
- Files
Error - Why a folder could not be listed or a file previewed. The path is not repeated.
- Kind
- What a file is, for the page. The wire values are the lower-case names, unchanged.
Constants§
- CEILING_
MAX_ ENTRIES - CEILING_
MAX_ IMAGE_ PREVIEW - CEILING_
MAX_ PDF_ PREVIEW - CEILING_
MAX_ SEND - CEILING_
MAX_ TEXT_ PREVIEW - DEFAULT_
MAX_ ENTRIES - DEFAULT_
MAX_ IMAGE_ PREVIEW - DEFAULT_
MAX_ PDF_ PREVIEW - DEFAULT_
MAX_ SEND - DEFAULT_
MAX_ TEXT_ PREVIEW
Functions§
- is_
noise - A temp, partial or hidden name that is never listed nor reported by the folder watch.
- kind_of
- list_
dir - Lists a directory already resolved through the scope. Hidden files are skipped; folders first, then by name; at most
limits.entries()are kept, after the sort. - mime_of
- preview
- Previews a file already resolved through the scope.