MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / allPkgInfosEqualAtIndex

Function allPkgInfosEqualAtIndex

lib/models/host-info-cache.js:3–6  ·  view source on GitHub ↗
(paths, index)

Source from the content-addressed store, hash-verified

1'use strict';
2
3function allPkgInfosEqualAtIndex(paths, index) {
4 const itemToCheck = paths[0][index];
5 return paths.every((pathToLazyEngine) => pathToLazyEngine[index] === itemToCheck);
6}
7
8class HostInfoCache {
9 constructor(project) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…