Expand description
NAP Resolver — URI → Manifest, with query and version selectors.
The resolver is the primary interface for reading NAP resources. It handles:
- Full manifest resolution:
nap://starwars/character/lukeskywalker - Fragment queries:
nap://starwars/character/lukeskywalker#references.appears_in - Version selectors: branch, commit
- Subtree extraction for efficient AI/application access
Version and branch are NEVER in the URI. They are orthogonal selectors:
URI + Reference + Revision SelectorStructs§
- Resolve
Config - Resolver configuration — set at construction time.
- Resolve
Options - Options for resolving a NAP URI. All are optional — omitting all
causes the resolver to use its
ResolveConfig::default_branch(if configured) or fail withNapError::NoDefaultBranch. - Resolver
- The NAP resolver — resolves URIs to manifests or subtrees.
Enums§
- Resolve
Result - The result of resolving a NAP URI.