MCPcopy Index your code
hub / github.com/cloudgraphdev/cli / containsService

Method containsService

src/reports/scan-report.ts:54–64  ·  view source on GitHub ↗
(
    ignoreExpression: RegExp,
    serviceName: string
  )

Source from the content-addressed store, hash-verified

52 table: Table
53
54 private containsService(
55 ignoreExpression: RegExp,
56 serviceName: string
57 ): boolean {
58 try {
59 const regex = new RegExp(ignoreExpression)
60 return regex.test(serviceName)
61 } catch (error) {
62 return false
63 }
64 }
65
66 pushData({ service, type, result }: pushDataParams): void {
67 if (

Callers 1

pushDataMethod · 0.95

Calls 1

testMethod · 0.80

Tested by

no test coverage detected