(file: GoogleDriveFile)
| 321 | }); |
| 322 | |
| 323 | const parseGoogleDriveContentLength = (file: GoogleDriveFile) => { |
| 324 | if (!file.size) return null; |
| 325 | const contentLength = Number(file.size); |
| 326 | return Number.isFinite(contentLength) ? contentLength : null; |
| 327 | }; |
| 328 | |
| 329 | const parseObjectKeyVideoId = (key: string) => |
| 330 | parseVideoIdFromObjectKey(key).pipe( |
no outgoing calls
no test coverage detected