Skip to main content

Module package

Module package 

Source
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 .cove files.
Package
A loaded package: its configuration and every module below its root.
Unit
One parsed .cove file.

Functions§

load
Loads the package rooted at root, reading every source file it contains into sources.