(
path: string,
id: string | null | undefined,
{ parseText }: { parseText: boolean },
)
| 483 | |
| 484 | loadMediaFile(branch: string, file: UnpublishedEntryMediaFile) { |
| 485 | const readFile = ( |
| 486 | path: string, |
| 487 | id: string | null | undefined, |
| 488 | { parseText }: { parseText: boolean }, |
| 489 | ) => this.api!.readFile(path, id, { branch, parseText, lfs: true }); |
| 490 | |
| 491 | return getMediaAsBlob(file.path, null, readFile).then(blob => { |
| 492 | const name = basename(file.path); |
no outgoing calls
no test coverage detected