(
path: string,
id: string | null | undefined,
{ parseText }: { parseText: boolean },
)
| 456 | |
| 457 | loadMediaFile(branch: string, file: UnpublishedEntryMediaFile) { |
| 458 | const readFile = ( |
| 459 | path: string, |
| 460 | id: string | null | undefined, |
| 461 | { parseText }: { parseText: boolean }, |
| 462 | ) => this.api!.readFile(path, id, { branch, parseText, lfs: true }); |
| 463 | |
| 464 | return getMediaAsBlob(file.path, null, readFile).then(blob => { |
| 465 | const name = basename(file.path); |
no outgoing calls
no test coverage detected