(csvPath: string)
| 76 | |
| 77 | /** The pages-dir path for a database's `data.csv` path, or null. */ |
| 78 | export function pagesDirFromCsvPath(csvPath: string): string | null { |
| 79 | const dir = formDirFromCsvPath(csvPath) |
| 80 | return dir ? `${dir}/${FORM_PAGES_DIR}` : null |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * If `relPath` lives inside a `.base` database folder, return that folder path; |
no test coverage detected