(entry)
| 1204 | * @returns {string | null | undefined} the resolved entry |
| 1205 | */ |
| 1206 | const getResolvedHash = (entry) => { |
| 1207 | if (entry === null) return null; |
| 1208 | if (entry.resolved !== undefined) return entry.resolved; |
| 1209 | return entry.symlinks === undefined ? entry.hash : undefined; |
| 1210 | }; |
| 1211 | |
| 1212 | /** |
| 1213 | * Adds the provided source to the snapshot optimization. |
no outgoing calls
no test coverage detected