Skip to main content

command_result

Function command_result 

Source
fn command_result(
    paths: &[&Path; 2],
    code: Option<i32>,
    failure: Option<Error>,
    inline: usize,
) -> Result<String>
Expand description

Inline both streams when together they fit the inline limit (deleting the files); otherwise keep the non-empty files and describe them. A storage failure is always reported, because the files are then incomplete.

浙ICP备2023005800号-2 浙公网安备33010902005384号