Skip to main content

encrypt_repo

Function encrypt_repo 

Source
pub fn encrypt_repo(repo: &'static Repo, paths: Vec<PathBuf>) -> Result<()>
Expand description

Encrypt given files in the repo. If no paths are given, encrypt all files in the repo’s crypt list.

§Panics

Panics if the master key is not set.