(entry: ResumableUploadEntry)
| 211 | } |
| 212 | |
| 213 | function currentResumableUploadOffset(entry: ResumableUploadEntry): number { |
| 214 | if (!fs.existsSync(entry.payloadPath)) return 0; |
| 215 | return Math.min(fs.statSync(entry.payloadPath).size, entry.sizeBytes); |
| 216 | } |
| 217 | |
| 218 | function parseContentRange( |
| 219 | value: string | string[] | undefined, |
no outgoing calls
no test coverage detected
searching dependent graphs…