( filepath: string, mimeType: string | undefined, size: number, sourceDescription: string, )
| 179 | * actually do with the file depends on provider/tooling. |
| 180 | */ |
| 181 | export function getBinaryBlobSavedMessage( |
| 182 | filepath: string, |
| 183 | mimeType: string | undefined, |
| 184 | size: number, |
| 185 | sourceDescription: string, |
| 186 | ): string { |
| 187 | const mt = mimeType || 'unknown type' |
| 188 | return `${sourceDescription}Binary content (${mt}, ${formatFileSize(size)}) saved to ${filepath}` |
| 189 | } |
| 190 |
no test coverage detected