(
path: string,
id: string | null | undefined,
{ parseText }: { parseText: boolean },
)
| 450 | |
| 451 | loadMediaFile(branch: string, file: UnpublishedEntryMediaFile) { |
| 452 | const readFile = ( |
| 453 | path: string, |
| 454 | id: string | null | undefined, |
| 455 | { parseText }: { parseText: boolean }, |
| 456 | ) => this.api!.readFile(path, id, { branch, parseText, lfs: true }); |
| 457 | |
| 458 | return getMediaAsBlob(file.path, null, readFile).then(blob => { |
| 459 | const name = basename(file.path); |
no outgoing calls
no test coverage detected