Skip to main content

apply_patch

Function apply_patch 

Source
pub async fn apply_patch(
    patch: &str,
    cwd: &PathUri,
    stdout: &mut impl Write,
    stderr: &mut impl Write,
    fs: &dyn ExecutorFileSystem,
    sandbox: Option<&FileSystemSandboxContext>,
) -> Result<AppliedPatchDelta, ApplyPatchFailure>
Expand description

Applies the patch and prints the result to stdout/stderr.