Skip to content

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.


Methods

filter

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


Clone this wiki locally