MCPcopy Create free account
hub / github.com/angular/dev-infra / include

Method include

ng-dev/pullapprove/pullapprove_arrays.ts:34–36  ·  view source on GitHub ↗
(pattern: string)

Source from the content-addressed store, hash-verified

32 */
33export class PullApproveGroupArray extends Array<PullApproveGroup> {
34 include(pattern: string): PullApproveGroupArray {
35 return new PullApproveGroupArray(...this.filter((s) => s.groupName.match(pattern)));
36 }
37
38 /** Returns a new array which only includes files that did not match the given pattern. */
39 exclude(pattern: string): PullApproveGroupArray {

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected