BuildMaster SDK Reference
Version:

GetMatches(string pathRoot, Inedo.BuildMaster.Files.SystemEntryInfo entry, string[] masks) Method

Returns an array of Inedo.BuildMaster.Files.SystemEntryInfo items which match the specified search masks.

Syntax

public static Inedo.BuildMaster.Files.SystemEntryInfo[] GetMatches(string pathRoot, Inedo.BuildMaster.Files.SystemEntryInfo entry, string[] masks)

Parameters

pathRoot
Type: string

Root path in which to search for matches.

entry
Type: Inedo.BuildMaster.Files.SystemEntryInfo

Top-level entry containing sub-entries to mask.

masks
Type: string[]

Masks used to filter sub-entries.

Returns

Matching Inedo.BuildMaster.Files.SystemEntryInfo items.

Remarks

For a description of file masking, see Util.Files.Comparison.