(localPath: string)
| 108 | } |
| 109 | |
| 110 | export async function deleteAttachmentFile(localPath: string): Promise<void> { |
| 111 | const targetPath = await resolveAttachmentPath(localPath) |
| 112 | if (!(await pathExists(targetPath))) { |
| 113 | return |
| 114 | } |
| 115 | |
| 116 | await unlink(targetPath) |
| 117 | } |
| 118 | |
| 119 | export async function moveAttachmentFile(options: { |
| 120 | fileId: string |
no test coverage detected