Skip to content

ExportIgnoreFilterInterface

github-actions edited this page Apr 11, 2026 · 1 revision

Filters canonical export-ignore candidates against consumer keep rules.

Implementations MUST remove any candidate path explicitly configured to stay in the exported package archive, while preserving the order of the remaining candidates.


  • Full name: \FastForward\DevTools\GitAttributes\ExportIgnoreFilterInterface

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