Skip to main content

run

Function run 

Source
pub fn run(path: &Path) -> Result<Outcome>
Expand description

Reads path and returns the text git should diff.

ยงErrors

Error::Config for a path inside the git directory, Error::Io when the file cannot be read, Error::NoKey when it is ours and no key is loaded, and the errors crate::crypto::cipher::decrypt reports for content that is ours but belongs to another key, is truncated or fails authentication.