Skip to content

Commit ff354c9

Browse files
authored
add .h extension (#139)
1 parent 8b4cbda commit ff354c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/data_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def read_all_documents(path: str, local_ollama: bool = False, excluded_dirs: Lis
139139
"""
140140
documents = []
141141
# File extensions to look for, prioritizing code files
142-
code_extensions = [".py", ".js", ".ts", ".java", ".cpp", ".c", ".go", ".rs",
142+
code_extensions = [".py", ".js", ".ts", ".java", ".cpp", ".c", ".h", ".hpp", ".go", ".rs",
143143
".jsx", ".tsx", ".html", ".css", ".php", ".swift", ".cs"]
144144
doc_extensions = [".md", ".txt", ".rst", ".json", ".yaml", ".yml"]
145145

0 commit comments

Comments
 (0)