desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs
Comment 1, line 1
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:1
//! DSH registry maps format versions to implementations or fallback.Comment 2, line 2
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:2
//! See architecture.md#adapter-layout / #unknown-version, V30.Comment 3, line 3
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:3
//!Comment 4, line 4
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:4
//! Native rc.2 format 4 has nonempty real samples; retain the separate legacy session-log-doc-1 ID.Comment 5, line 5
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:5
//! KnownVersion identifies a file format, not all client versions or inherited history.Comment 6, line 6
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:6
//! select retains the shared fallback interface; detection rejects unknown explicit format versions.Comment 7, line 11
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:11
/// This constant selects the latest built-in implementation without network access.Comment 8, line 14
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:14
/// Legacy format ID based on README 46a7f68 event/replacement rules, not a product version.Comment 9, line 15
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:15
/// Native format-4 samples do not verify this separate legacy format.Comment 10, line 18
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:18
/// Registered format IDs mapped to implementations.Comment 11, line 19
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:19
/// No per-product version mappings; keep native format 4 and the legacy ID separate.Comment 12, line 25
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:25
/// Version selection result.Comment 13, line 32
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:32
/// Detection and scanning share this V30 format-selection function.Comment 14, line 45
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:45
// Detection rejects unknown explicit formats; retain the shared selection interface.Comment 15, line 52
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:52
// Detection requires a native header or legacy shape; None preserves the common interface.Comment 16, line 78
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:78
// Test fallback branches directly; successful detection supplies a supported native or legacy format.Comment 17, line 79
desktop/src-tauri/crates/core/src/adapters/dsh/versions/mod.rs:79
// Preserve the same LatestFallback result shape as other registries for V30 checks.