don't include .git directories in index listings

This commit is contained in:
Akbar Rahman 2024-01-02 15:15:40 +00:00
parent 451bc567e2
commit 5c8e1e5253
Signed by: alvierahman90
GPG Key ID: 6217899F07CA2BDF

View File

@ -138,6 +138,9 @@ class FileMap:
entries = []
for path in filepath.iterdir():
if '.git' in path.parts:
continue
if path.is_dir():
entry = self._get_directory_properties(
path, include_index_entries=False)