Skip to main content

read_tree

Function read_tree 

Source
pub fn read_tree(
    root: &Path,
    relative: &Path,
) -> Result<(Vec<BundleFile>, Vec<String>)>
Expand description

Every regular file under relative in root, with paths relative to root. Symbolic links are never followed; each one is returned in the second list so the caller can report it. .git folders are skipped.

ยงErrors

Returns an error when a directory cannot be read.