wstore_workspace_exists

Function wstore_workspace_exists 

Source
fn wstore_workspace_exists(
    store: &WaveStore,
    workspace_id: &str,
) -> Result<bool, StoreError>
Expand description

Existence check used by DeleteWorkspace to decide whether to run the wcore delete path. Propagates StoreError so the caller can surface real I/O / corruption failures instead of misclassifying them as “not found” (codex P2 #615 carryover — the prior bool return collapsed Err(_) into false, which led to silent successes when SQLite was unhealthy: reducer would delete its own copy and report success while the disk row was never touched).