Skip to main content

source_files

Function source_files 

Source
pub fn source_files(root: &Path) -> Result<Vec<PathBuf>>
Expand description

The source files of the project in root, relative to it: main.nf first, then every other .nf file in it and its subfolders, sorted. A subfolder with its own main.nf is a separate project, such as an app nf build made, so its files are left out.

§Errors

Fails when a folder in the project can’t be read.