resolveHistoryDbPath
resolveHistoryDbPath(
dbPath?,ensureDir?):string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/historyStore.ts:620
Resolve the on-disk path of the history DB. Honors an explicit dbPath (from history.dbPath
or a --db flag); otherwise the global ~/.gsloth/history.db. When dbPath is omitted and
ensureDir is true, the global dir is created so the recorder can write.
Parameters
Section titled “Parameters”dbPath?
Section titled “dbPath?”string
ensureDir?
Section titled “ensureDir?”boolean = false
Returns
Section titled “Returns”string