def match(
    root,
    cwd,
    patterns=None,
    include=None,
    exclude=None,
    default="glob",
    exact=False,
    auditor=None,
    ctx=None,
    warn=None,
    badfn=None,
    icasefs=False,