Expand description
Reading the graph.
Every question a command asks of the catalog lands here, and nothing in this
file changes anything: the whole module takes &self. That is the point of
keeping it apart from build — a query that had to mutate would be a design
mistake, and here it would not even compile.
Two rules run through all of it. A lookup that can match several things
returns all of them together with how it matched (TitleMatch), because a
command must never pick one answer out of several in silence. And a figure
about an artist says which class of role it counts: being audible on a
record and having written it are not the same fact.
Structs§
- Search
Hit - One answer returned by
Catalog::search, ready to be shown and followed.
Enums§
- Title
Match - How
Catalog::find_tracksreached its results.