We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a85b86 commit efc899dCopy full SHA for efc899d
snekbox/memfs.py
@@ -138,6 +138,11 @@ def files(
138
"""
139
count = 0
140
for file in self.output.rglob(pattern):
141
+ # Ignore hidden directories or files
142
+ if any(part.startswith(".") for part in file.parts):
143
+ log.info(f"Skipping hidden path {file!s}")
144
+ continue
145
+
146
if exclude_files and (orig_time := exclude_files.get(file)):
147
new_time = file.stat().st_mtime
148
log.info(f"Checking {file.name} ({orig_time=}, {new_time=})")
0 commit comments