Skip to main content

source_reference

Function source_reference 

Source
pub fn source_reference(
    source: impl AsPath,
    output: impl AsPath,
) -> Option<PathRelativeOwned>
Expand description

Compute the source broadcast reference for an output nested beneath it.

Both paths are normalized before comparison. Returns None when output is not a descendant of source, so callers can omit passthrough renditions.