()
| 245 | }; |
| 246 | |
| 247 | const clear = (): Checkpoints => { |
| 248 | clearCheckpointIds(backwardIds); |
| 249 | clearCheckpointIds(forwardIds); |
| 250 | if (!isUndefined(currentId)) { |
| 251 | clearCheckpointId(currentId); |
| 252 | } |
| 253 | currentId = undefined; |
| 254 | nextCheckpointId = 0; |
| 255 | addCheckpoint(); |
| 256 | return checkpoints; |
| 257 | }; |
| 258 | |
| 259 | const clearForward = (): Checkpoints => { |
| 260 | if (!arrayIsEmpty(forwardIds)) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…