(path: string)
| 15 | * absolute path for `file:` URLs; `:memory:` passes through unchanged. |
| 16 | */ |
| 17 | const toLibsqlFileUrl = (path: string): string => |
| 18 | path === ":memory:" ? path : `file:${resolve(path)}`; |
| 19 | |
| 20 | /** The database and the two sidecars WAL mode creates beside it. */ |
| 21 | const DB_FILE_SUFFIXES = ["", "-wal", "-shm"] as const; |
no test coverage detected