pub fn capture( root: &Path, language: &str, paths: impl IntoIterator<Item = PathBuf>, ) -> Result<Inputs, String>