( userId: string, projectId: string, fileName: string )
| 47 | |
| 48 | // Updated function to get the full path to a specific file within the 'content' directory |
| 49 | export const getProjectContentPath = ( |
| 50 | userId: string, |
| 51 | projectId: string, |
| 52 | fileName: string |
| 53 | ): string => { |
| 54 | return path.join(getProjectContentDir(userId, projectId), fileName); |
| 55 | }; |
| 56 | |
| 57 | // Helper function to hash user IDs for unique cache directories |
| 58 | const hashUserId = (userId: string): string => { |
no test coverage detected