(formDir: string)
| 65 | |
| 66 | /** The `data.csv` path for a database folder path. e.g. `a/X.base` → `a/X.base/data.csv`. */ |
| 67 | export function csvPathForFormDir(formDir: string): string { |
| 68 | return `${toPosixPath(formDir)}/${FORM_DATA_FILE}` |
| 69 | } |
| 70 | |
| 71 | /** The `schema.json` path for a database's `data.csv` path, or null. */ |
| 72 | export function databaseSchemaPathFor(csvPath: string): string | null { |
no test coverage detected