pub fn edit( root: &Path, target: &str, extension: &str, editor: &str, pgp_executable: &str, ) -> Result<bool>