walk({includeDirs}) yields src/ and src/ui/ with trailing slash, only on the @ path. matchPaths ranks dirs before files for the same prefix so @src/ surfaces the directory itself. Insertion keeps the slash.