async def corofunc():
            nonlocal called
            called += 1
            raise ValueError("yeah async")
def _makeglobrecursive(pat):
    """Make a glob pattern recursive by appending "/**" to it"""
    if pat.endswith("/") or not pat:
        return pat + "**"
    else:
        return pat + "/**"