* Get the full file path for a document ID.
(id: string)
| 69 | * Get the full file path for a document ID. |
| 70 | */ |
| 71 | function getDocPath(id: string): string { |
| 72 | return path.join(getYjsStorageDir(), sanitizeId(id)) |
| 73 | } |
| 74 | |
| 75 | function getLegacyNestedDocPath(id: string): string { |
| 76 | return path.join(getLegacyNestedYjsStorageDir(), sanitizeId(id)) |
no test coverage detected