When calling lore --json status --scan, any ignored files and folders are reported with the filterExclude event. The event reports the exclusion reason and the path, but the client doesn't know if the path is a file or directory. The repositoryStatusFile event, also emitted during lore --json status --scan includes a type property which is either "file" or "directory".
If filterExclude also reported type, the client could correctly display UI for an excluded file or folder without another call to disk.
When calling
lore --json status --scan, any ignored files and folders are reported with thefilterExcludeevent. The event reports the exclusion reason and the path, but the client doesn't know if the path is a file or directory. TherepositoryStatusFileevent, also emitted duringlore --json status --scanincludes atypeproperty which is either"file"or"directory".If
filterExcludealso reportedtype, the client could correctly display UI for an excluded file or folder without another call to disk.