(a: Map<string, string>, b: Map<string, string>)
| 173 | | LoadDependenciesMessage |
| 174 | |
| 175 | export function compareMap(a: Map<string, string>, b: Map<string, string>) { |
| 176 | if (a.size !== b.size) { |
| 177 | return false |
| 178 | } |
| 179 | for (const [key, value] of a) { |
| 180 | if (value !== b.get(key)) { |
| 181 | return false |
| 182 | } |
| 183 | } |
| 184 | return true |
| 185 | } |
| 186 | |
| 187 | export function sameDepencencies(a: Dependency[], b: Dependency[]) { |
| 188 | if (a.length !== b.length) { |
nothing calls this directly
no outgoing calls
no test coverage detected