desktop/src-tauri/crates/core/src/adapters/zed/detect.rs
Comment 1, line 1
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:1
//! Detect Zed threads.db by tables/columns from official bd74733 creation/migration SQL.Comment 2, line 2
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:2
//!Comment 3, line 3
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:3
Comment 4, line 4
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:4
//! had the expected threads columns but zero rows, verifying only the schema.Comment 5, line 5
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:5
//!Comment 6, line 6
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:6
//! V17 detection rules:Comment 7, line 7
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:7
//! - Non-SQLite, absent threads or missing required columns is UnknownFormat.Comment 8, line 8
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:8
//! - Matching threads columns, even with no rows, is Supported; empty files remain Pending in the framework.Comment 9, line 9
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:9
//! - The format ID zed-threads-db-1 comes from source; it does not identify a product version.Comment 10, line 21
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:21
/// Detect threads.db by its threads table and required columns.Comment 11, line 26
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:26
// A busy/locked database is Pending for a later check, rather than UnknownFormat.Comment 12, line 37
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:37
// A transient product-held lock remains Pending; do not persist it as a format conclusion.Comment 13, line 78
desktop/src-tauri/crates/core/src/adapters/zed/detect.rs:78
// created_at is a migration column (official db.rs:460-483); the scanner handles its absence as an older database.