ReleaseManifest
Corex\Config\Releases\ReleaseManifest · class · Config layer
What a release package says it is: corex-release.json, as the builder writes it from schema 2 on (spec 107, plan D2). Reading it is the first check a package gets. Everything a site later does with a package (which folders it unpacks, what it compares them with, where they go) comes from here, so a description that names a folder a release does not own is refused, whatever else it says.
Public API
Section titled “Public API”described(): array
Section titled “described(): array”The description as a site records it once the release is installed.
fromJson(string $json): self
Section titled “fromJson(string $json): self”owns(string $path): bool
Section titled “owns(string $path): bool”Whether a release can own this folder at all. Asked of a package’s description, and again of anything else that names a folder to be moved.
contentsOf(string $releasePath): array
Section titled “contentsOf(string $releasePath): array”What a folder of the release holds, as the builder measured it.