ldoc-docset
Validate an exact release key and assemble a complete sorted in-memory docset from caller-selected trusted BEAM artifacts.
assemble/2function
assemble/2Assemble RELEASE and INPUTS into one complete in-memory docset.
RELEASE must contain exactly nonempty valid UTF-8 binaries for namespace, package, and version. INPUTS is a nonempty proper list of trusted BEAM paths or {Path, Provenance} descriptors. Success returns {ok, Docset} with complete module maps sorted by normalized binary name. Invalid release returns {error, invalid_release_key}; empty or improper inputs return {error, invalid_inputs}; an invalid descriptor returns {error, {invalid_input, Index}}; collection failure returns {error, {collect_failed, Path, Reason}}; duplicate module identity returns {error, {duplicate_module, Name, FirstPath, Path}}. No partial docset is returned. Collection reads artifacts but does not load target code or write files.
valid-release?/1function
valid-release?/1Return whether RELEASE is exactly the supported three-key release map.
Each namespace, package, and version value must be a nonempty valid UTF-8 binary. The result is a boolean predicate used by assembly and storage; it does not authenticate a release against BEAM contents.