* Records a parent chunk group relationship. * @param {ChunkGroup} parentChunk the parent group to be added into * @returns {boolean} returns true if this chunk group was added to the parent group
(parentChunk)
| 347 | * @returns {boolean} returns true if this chunk group was added to the parent group |
| 348 | */ |
| 349 | addParent(parentChunk) { |
| 350 | if (!this._parents.has(parentChunk)) { |
| 351 | this._parents.add(parentChunk); |
| 352 | return true; |
| 353 | } |
| 354 | return false; |
| 355 | } |
| 356 | |
| 357 | /** |
| 358 | * Returns the parent chunk groups that can lead to this group. |
no test coverage detected