Skip to main content

read_filesystem_project

Function read_filesystem_project 

Source
pub fn read_filesystem_project(
    root: impl AsRef<Path>,
    entrypoint: impl Into<String>,
    limits: FilesystemProjectLimits,
) -> Result<ProjectSnapshot, FilesystemProjectReadError>
Expand description

Reads one Project Snapshot from the reference filesystem source.

The root policy is read and parsed once. Reading then surveys and filters the complete eligible structure before reading ordinary selected files, and submits only the selected exact bytes to Project Snapshot Assembly.