Skip to main content

Module registry

Module registry 

Source
Expand description

The one place that maps a source name to everything the commands need: its base URL, what it can do, and which functions to call.

Sources stay plain free functions in their own files — this table holds function pointers rather than a trait, so no source has to implement anything. Where a source’s signature does not yet match the table’s, a three-line adapter bridges it; those adapters disappear as each source is migrated.

Structs§

SourceEntry

Enums§

Source

Constants§

ALL
Every source, in the order fastpaper sources lists them.