Skip to main content

Module discovery

Module discovery 

Source

Structs§

DiscoveredPlugin
A discovered plugin with its manifest and source.

Enums§

PluginSource
Where a plugin’s filter.lf lives. Disk-backed plugins are user-installed under ~/.lowfat/plugins/; embedded plugins are baked into the binary at compile time (see crate::embedded).

Functions§

discover_plugins
Discover plugins from plugin_dir (~/.lowfat/plugins/ by default) merged with the embedded set baked into the binary. Disk plugins win on name collision — a user-installed git-compact shadows the bundled one.
resolve_plugins
Build a command → plugin mapping. If multiple plugins claim the same command, the last one wins.