Skip to main content

db_path

Function db_path 

Source
pub async fn db_path() -> Result<PathBuf>
Expand description

Get the path to the tasks database file (~/.orch/orch.db).

Also migrates legacy orchestrator.db → orch.db transparently if the old file exists and the new one does not.