Skip to main content

materialize_file_content

Function materialize_file_content 

Source
pub async fn materialize_file_content(
    config: &Config,
    cat: &AppCategory,
    file: &AppFile,
    env: &BTreeMap<String, String>,
) -> Result<Vec<u8>>
Expand description

Hash the effective install content for file — applies transforms if declared.

Returns None when the source cannot be read (e.g. not yet extracted).