resolveConvexStateDir
●test-convex · /index·function
Resolves the project-local Convex state directory (<projectDir>/.convex)
the local/anonymous backend persists its SQLite database, storage, and
deployment config into. This is the directory reset wipes.
Signature
function resolveConvexStateDir(projectDir: string): string;Parameters
| Name | Type | Description |
|---|---|---|
projectDir | string |
Returns
Absolute path to the .convex state directory.
Related
runCli DaemonOptions runDaemon SeedClerkOperatorOptions SeedCmsOptions SeedCanonicalOptions SeedClerkOperatorView SeedShopOptions
resolveConvexProjectDir
Resolves the Convex project directory (the one holding convex.json and the convex/ functions) the local backend pushes. Honors CONVEXPROJECTDIR for overrides; o
runCli
Dispatches a testconvex subcommand and returns its process exit code. Returning a code (rather than calling process.exit) keeps the dispatcher importable and un