pub fn diff(
repo_key: Option<&[u8]>,
path: &str,
content: &[u8],
) -> Result<Vec<u8>>Expand description
Decrypt content for textconv diff display.
ยงErrors
Returns an error if the repository is locked and the content is encrypted, or if decryption fails.