(upstream: Source)
| 260 | } |
| 261 | |
| 262 | function getRawData(upstream: Source): Source['data'] { |
| 263 | const sourceFormat = upstream.sourceFormat; |
| 264 | |
| 265 | if (!isSupportedSourceFormat(sourceFormat)) { |
| 266 | let errMsg = ''; |
| 267 | if (__DEV__) { |
| 268 | errMsg = '`getRawData` is not supported in source format ' + sourceFormat; |
| 269 | } |
| 270 | throwError(errMsg); |
| 271 | } |
| 272 | |
| 273 | return upstream.data; |
| 274 | } |
| 275 | |
| 276 | function cloneRawData(upstream: Source): Source['data'] { |
| 277 | const sourceFormat = upstream.sourceFormat; |
nothing calls this directly
no test coverage detected
searching dependent graphs…