add missing ignoredirs param

This commit is contained in:
Darryl Nixon 2023-07-16 16:18:58 -07:00
parent 23a0e255b2
commit 4eb95d64ea

View file

@ -39,7 +39,7 @@ async def mount_bound_rglob(path: AsyncPath, mount: AsyncPath, pattern: str, ign
logger.info(f"Skipping differently mounted subdir: {path} (wanted {mount}))")
return
async for subpath in path.glob(pattern):
async for subitem in mount_bound_rglob(subpath, mount, pattern):
async for subitem in mount_bound_rglob(subpath, mount, pattern, ignoredirs):
yield subitem
yield path