Playground
Type patterns on the left and paths on the right. Every path is tested twice: as a file with match(), and as a directory with matchDir(), whose six verdicts are explained in Directory matching. The page runs the real @globstar/core source in your browser, so what you see is what the library does, with one exception: a browser has no process, so \ is never a separator here, while on Windows the library also splits paths at \ (patterns use / everywhere). The URL updates as you type; copy it to share a case.
Reading the directory columns
matches is about the directory's own path. may match below is what a pattern that selects files reads: when it is no, a walker can skip the directory. matches all below is what a pattern that excludes files reads: when it is yes, a walker can skip the directory whole. It is always no with dot off, because a dot-led name below escapes every wildcard.
Try:
src/**againstsrcwithdoton and off. Withdoton, everything belowsrcmatches, so the verdict isDescendAll.**/*.logagainstapp.logand againstapp.log/notes.txt. The directory matches, but a file below it need not. An exclude list must not skip it.[unclosedora{b,c. Compile errors are shown with their kind.*.TSagainstindex.tswithcaseInsensitiveon.