Skip to content

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.

string

boolean = false

string