Skip to main content

run

Function run 

Source
pub fn run(repo: &Repo, destination: &Path, force: bool) -> Result<Report>
Expand description

Writes the repository key to destination.

ยงErrors

Error::Config when the destination is inside the working tree or already exists without --force, Error::NoKey when the repository has no key, Error::Io when the file cannot be written.