/// Creates a new VerifyRoute instance with a `stamp_path` that is written
/// to if the verification succeeds. A `depfile_path` that lists all the
/// files this executable touches and a `allowlist_path` which lists all
/// the moniker & protocol pairs that are filtered from the analysis.
Creates a new VerifyRoute instance with a `stamp_path` that is written
to if the verification succeeds. A `depfile_path` that lists all the
files this executable touches and a `allowlist_path` which lists all
the moniker & protocol pairs that are filtered from the analysis.
Creates a new VerifyRoute instance with a ` stamp_path ` that is written to if the verification succeeds . A ` depfile_path ` that lists all the files this executable touches and a ` allowlist_path ` which lists all the moniker & protocol pairs that are filtered from the analysis .
fn new<S: Into<String>>(
        build_path: S,
        repository_path: S,
        capability_types: Vec<S>,
        response_level: S,
        stamp_path: Option<S>,
        depfile_path: Option<S>,
        allowlist_paths: Vec<S>,
        component_tree_config_path: Option<S>,
    ) -> Self {
        Self {
            build_path: build_path.into(),
            repository_path: repository_path.into(),
            capability_types: capability_types.into_iter().map(|s| s.into()).collect(),
            response_level: response_level.into(),
            stamp_path: stamp_path.map(|stamp_path| stamp_path.into()),
            depfile_path: depfile_path.map(|depfile_path| depfile_path.into()),
            allowlist_paths: allowlist_paths.into_iter().map(|s| s.into()).collect(),
            component_tree_config_path: component_tree_config_path
                .map(|component_tree_config_path| component_tree_config_path.into()),
        }
    }
fn new < S : Into < String > > ( build_path : S , repository_path : S , capability_types : Vec < S > , response_level : S , stamp_path : Option < S > , depfile_path : Option < S > , allowlist_paths : Vec < S > , component_tree_config_path : Option < S > , ) -> Self { Self { build_path : build_path . into ( ) , repository_path : repository_path . into ( ) , capability_types : capability_types . into_iter ( ) . map ( | s | s . into ( ) ) . collect ( ) , response_level : response_level . into ( ) , stamp_path : stamp_path . map ( | stamp_path | stamp_path . into ( ) ) , depfile_path : depfile_path . map ( | depfile_path | depfile_path . into ( ) ) , allowlist_paths : allowlist_paths . into_iter ( ) . map ( | s | s . into ( ) ) . collect ( ) , component_tree_config_path : component_tree_config_path . map ( | component_tree_config_path | component_tree_config_path . into ( ) ) , } }
Creates a new VerifyRoute instance with a `stamp_path` that is written
to if the verification succeeds.
Creates a new VerifyRoute instance with a ` stamp_path ` that is written to if the verification succeeds .
build_path
S
repository_path
S
capability_types
Vec<S>
response_level
S
stamp_path
Option<S>
depfile_path
Option<S>
allowlist_paths
Vec<S>
component_tree_config_path
Option<S>