The folder that holds the project's files: from the file with the query, the nearest folder up
the tree with a jacket.toml or the first folder of MIGRATIONS (db, by default); if there is
none, that file's own folder. JACKET_PG_ROOT overrides it.
- file: the source file with the query.
find_project_root :: (file: string) -> string
The folder that holds the project's files: from the file with the query, the nearest folder up
the tree with a jacket.toml or the first folder of MIGRATIONS (db, by default); if there is
none, that file's own folder. JACKET_PG_ROOT overrides it.
Parameters
- file: string
- the source file with the query.
Returns
- string