Skip to main content

smudge

Function smudge 

Source
pub fn smudge(
    repo_key: Option<&[u8]>,
    path: &str,
    content: &[u8],
) -> Result<Vec<u8>>
Expand description

Decrypt content for checkout via the Git smudge filter.

ยงErrors

Returns an error if decryption fails. When the repository is locked, ciphertext is passed through unchanged.