Skip to main content

pair_files

Function pair_files 

Source
pub fn pair_files(
    source: &dyn ReleaseSource,
    tech: &str,
    forge: &str,
) -> Result<Vec<(String, Vec<u8>)>, RkError>
Expand description

The landable files of one (technology, forge) pair, as (destination, payload bytes), read from the bundle source carries and selected by pure::select_pair.

ยงErrors

Returns RkError::Usage naming the known bindings for an unknown technology, and the supported pairs for a pair with no files.