()
| 24 | } |
| 25 | |
| 26 | async function ensureAttachmentsRoot(): Promise<string> { |
| 27 | const attachmentsRoot = getCurrentAttachmentsDirectory() |
| 28 | await mkdir(attachmentsRoot, { recursive: true }) |
| 29 | return attachmentsRoot |
| 30 | } |
| 31 | |
| 32 | async function resolveAttachmentPath(localPath: string): Promise<string> { |
| 33 | const attachmentsRoot = await ensureAttachmentsRoot() |
no test coverage detected