Expand description
Module project loading, upward discovery, and paired persistence.
ModuleProject loads an exact module.json path and remembers the
sibling module-lock.json path beside it. ModuleProject::discover
walks upward from a caller-supplied start path until it finds module.json
or reaches a .git boundary, so project discovery returns Ok(None) when
no ancestor project exists. ManifestDocument preserves unknown manifest
extension fields and validates each edit before it lands.
Structs§
- Locked
Lockfile - A
module-lock.jsonheld under its exclusive advisory lock. - Manifest
Document - A lossless
module.jsondocument paired with its validated manifest view. - Module
Project - A loaded module project rooted at an exact
module.jsonpath.
Enums§
- Manifest
Document Error - An error parsing or editing a
module.jsondocument. - Project
Error - An error loading, discovering, or reloading a module project.
- Project
File Kind - A manifest-referenced file required for a valid module project.
- Project
Validation Error - An error validating a loaded module project.