MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / local_database_path

Function local_database_path

crates/opencode-cli/src/main.rs:2242–2247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2240}
2241
2242fn local_database_path() -> PathBuf {
2243 dirs::data_local_dir()
2244 .unwrap_or_else(|| PathBuf::from("."))
2245 .join("opencode")
2246 .join("opencode.db")
2247}
2248
2249async fn handle_db_command(
2250 action: Option<DbCommands>,

Callers 1

handle_db_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected