Skip to main content

Module selector

Module selector 

Source
Expand description

Parse locator syntax once, then map its structured fields through the index.

Enumsยง

Selector ๐Ÿ”’
Parsed input; each variant selects an index lookup or a source adapter.

Functionsยง

legacy ๐Ÿ”’
Map older opaque model: locators onto the same structured selectors.
parse ๐Ÿ”’
Explicit paths take precedence; all URI forms go through the URL parser.
revision ๐Ÿ”’
Separate the optional revision delimiter from the repository path.
source ๐Ÿ”’
Map a parsed URI authority and repository path into a source selector.
validate_revision ๐Ÿ”’
Apply the same literal revision rules to URI suffixes and option overrides.