Expand description
Conservative index eligibility and observability.
A filesystem event only says that a path may have changed. This module owns the separate decision about whether that path may enter an index at all. The first registered provider is the existing OKF Markdown indexer; unknown formats are deliberately unsupported rather than fed to a generic tokenizer.
Structs§
Enums§
Constants§
- CONFIG_
FILE - DEFAULT_
AUDIT_ SECONDS - DEFAULT_
DEBOUNCE_ MS - DEFAULT_
IDLE_ SECONDS - DEFAULT_
MAX_ FILE_ BYTES - MAX_
AUTOMATIC_ DAEMON_ MEMORY_ BYTES - PROVIDER_
OKF - PROVIDER_
OKF_ VERSION
Functions§
- automatic_
daemon_ memory_ limit - Default daemon ceiling: five percent of physical RAM, capped at 2 GiB. When the platform cannot report RAM, the fixed cap is the conservative usable fallback.
- directory_
bytes - file_
stat - glob_
matches - path_
key - scan
- Reconcile candidates from the effective scopes. The provider whitelist is applied before a path is returned to the indexer.
- unix_
millis