Module: Coradoc::Reference::Catalog

Defined in:
lib/coradoc/reference/catalog.rb,
lib/coradoc/reference/catalog/local.rb,
lib/coradoc/reference/catalog/composite.rb,
lib/coradoc/reference/catalog/memory_index.rb

Overview

Externally-built index from Address → Content. coradoc queries catalogs; it never owns the collection truth.

A Catalog is any object responding to lookup, each_pair, and recognizes_scheme?. Built-in catalogs share an in-memory index (MemoryIndex) for implementation. Catalogs compose via CompositeCatalog.

Defined Under Namespace

Modules: Protocol Classes: Composite, Local, MemoryIndex