pub fn find_secrets( paths: &[PathBuf], additional_patterns: &[String], strict_ignore: bool, only_matching: bool, writer: BufferWriter, ) -> Result<usize, Box<dyn Error>>