pub fn select_pair<'a, T>(
files: &'a [(String, T)],
tech: &str,
forge: &str,
) -> Result<Vec<Selected<'a, T>>, RkError>Expand description
The files one (technology, forge) pair lands, selected from files,
whose paths carry the snippets/ root.
The shared zone snippets/_shared/<forge> composes into every pair
and lands first. It is not a technology and never names one.
ยงErrors
Returns RkError::Usage naming the known bindings for an unknown
technology and the supported pairs for a pair with no files, and
RkError::Other naming both source paths for a destination two
sources ship, which is a payload defect and never one source silently
winning.