Skip to main content

split

Function split 

Source
pub fn split(env: &Env, dir: &Path, blean: bool) -> Result<Vec<PathBuf>>
Expand description

Export every module of env to its own file in dir, named after the module.

Ids count from the start in each file. A file holds every constant its module declares and refers to its imports’ constants by name, so joining the files gives a whole export, up to numbering and order, plus the internal constants nothing needs. Returns the files in module order.