CandidateProviderInterface
Provides the canonical list of candidate paths for export-ignore rules.
Description
This interface defines the contract for classes that provide the baseline set of files and directories that should typically be excluded from Composer package archives.
Methods
Returns all candidates as a combined list with folders first, then files.
Returns the list of file paths that are candidates for export-ignore.
Returns the list of folder paths that are candidates for export-ignore.
Returns all candidates as a combined list with folders first, then files.
public
all() : array<int, string>
Return values
Description
All candidates in deterministic order
Returns the list of file paths that are candidates for export-ignore.
public
files() : array<int, string>
Return values
Description
File paths in canonical form (e.g., "/.editorconfig")
Returns the list of folder paths that are candidates for export-ignore.
public
folders() : array<int, string>
Return values
Description
Folder paths in canonical form (e.g., "/.github/")