dependencies_to_path

Function dependencies_to_path 

Source
pub fn dependencies_to_path(
    xvc_root: &XvcRoot,
    pmp: &XvcPathMetadataProvider,
    pipeline_rundir: &XvcPath,
    all_deps: &XvcStore<XvcDependency>,
    to_path: &XvcPath,
) -> HStore<XvcDependency>
Expand description

Returns steps that depend to to_path For dependencies with a single file path, these makes equality checks. For XvcDependency::Glob ( glob ), it checks whether to_path is in the paths of the dep. Note that for granular dependencies (Param, Regex, Lines), there may be required further checks whether the step actually depends to to_path, but as we don’t have outputs that are described more granular than a file, it simply assumes if step-A writes to file-A, any other step that depends on file-A is a dependency to step-A.