Skip to main content

Module indexing

Module indexing 

Source
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§

Decision
Plan
ScanMetrics
Scope

Enums§

Origin

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