-
-
Notifications
You must be signed in to change notification settings - Fork 0
ExportIgnoreFilter
github-actions edited this page Apr 11, 2026
·
1 revision
Filters export-ignore candidates using normalized path comparisons.
This filter SHALL compare configured keep-in-export paths against canonical candidates while ignoring leading and trailing slash differences. It MUST preserve the original candidate ordering in the filtered result.
- Full name:
\FastForward\DevTools\GitAttributes\ExportIgnoreFilter - This class is marked as final and can't be subclassed
- This class implements:
\FastForward\DevTools\GitAttributes\ExportIgnoreFilterInterface - This class is a Final class
Filters export-ignore candidates using the configured keep-in-export paths.
public filter(list<string> $candidates, list<string> $keepInExportPaths): list<string>Parameters:
| Parameter | Type | Description |
|---|---|---|
$candidates |
list | the canonical candidate paths |
$keepInExportPaths |
list | the paths that MUST remain exportable |
Return Value:
the filtered export-ignore candidates