Expand description
Discovering and loading a Cove package from disk.
A package is rooted at the nearest cove.toml. Module paths are relative to
that root: each directory containing .cove files is one module, and every
.cove file in it is an implementation unit of that module.
Structs§
- Module
- One directory of
.covefiles. - Package
- A loaded package: its configuration and every module below its root.
- Unit
- One parsed
.covefile.
Functions§
- load
- Loads the package rooted at
root, reading every source file it contains intosources.