Skip to main content

Module scanner

Module scanner 

Source
Expand description

The shared discovery surface: a StoreScanner inspects one on-disk model store (an Ollama blob store, a Hugging Face cache, …) and returns the models it found as DiscoveredModel hints, plus any per-store issues, in a ScanResult. Identification later turns these hints into full records.

Structs§

DiscoveredModel
A model a scanner found on disk, as hints (not yet a resolved record). The *_hint fields are best-effort; identification refines or overrides them.
ScanResult
The outcome of scanning one or more stores: the models found, free-text issues (a store was reachable but a single entry was malformed), and the set of source kinds whose scan failed wholesale (unreadable root).

Traits§

StoreScanner
A scanner over one class of on-disk model store. Synchronous: the kernel does its filesystem work inline (the runtime layer decides about threads).