MCPcopy Index your code
hub / github.com/devcontainers/cli / haveCommonEntries

Function haveCommonEntries

src/test/cli.build.test.ts:128–130  ·  view source on GitHub ↗
(arr1: string[], arr2: string[])

Source from the content-addressed store, hash-verified

126 }
127
128 function haveCommonEntries(arr1: string[], arr2: string[]) {
129 return arr1.every(item => arr2.includes(item));
130 }
131
132 // Act
133 await shellExec(`docker pull ${baseImage}`); // pull base image so we can inspect it later

Callers 1

cli.build.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected