( userId: string, projectId: string, fileName: string )
| 80 | }; |
| 81 | |
| 82 | export const deleteProjectContent = async ( |
| 83 | userId: string, |
| 84 | projectId: string, |
| 85 | fileName: string |
| 86 | ): Promise<void> => { |
| 87 | const contentPath = getProjectContentPath(userId, projectId, fileName); |
| 88 | if (existsSync(contentPath)) { |
| 89 | await fsPromises.unlink(contentPath); |
| 90 | } |
| 91 | }; |
nothing calls this directly
no test coverage detected