As shown here, fsspec.asyn.AsyncFileSystem._glob does not respect kwargs such as withdirs which could lead to issues for downstream implementations such as gcsfs
allpaths = await self._find(
root, maxdepth=depth, withdirs=True, detail=True, **kwargs
)