create_compressed_diff

Function create_compressed_diff 

Source
pub fn create_compressed_diff(
    old_path: &Path,
    new_path: &Path,
) -> Result<Vec<u8>, Error>
Expand description

Computes the diff between two files, compresses the diff output, and returns it.

ยงArguments

  • old_path - Path to the original file
  • new_path - Path to the modified file