desktop/src-tauri/crates/core/examples/real_verify_opencode.rs
第 1 条注释,第 1 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:1
//! 只读核对原生 OpenCode opencode*.db,位于 $XDG_DATA_HOME/opencode第 2 条注释,第 2 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:2
//! 或 ~/.local/share/opencode。2026-09-25 未安装盘点期望第 3 条注释,第 3 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:3
//! discovered_roots=0。只输出允许的根目录、文件、记录、事件数、第 4 条注释,第 4 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:4
//! 对账结果、token 和诊断计数;不输出路径、会话或消息 ID,以及第 5 条注释,第 5 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:5
//! 模型以外的内容。来源只读;清理临时 Online Backup 副本。第 6 条注释,第 6 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:6
//! 实现遵循已核对文档或源码;通过此入口核验原生数据。第 7 条注释,第 7 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:7
//! 用法:cargo run -p llm-usage-core --example real_verify_opencode -- <OpenCode根、父目录或用户home> <work_dir>第 8 条注释,第 87 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:87
// 第二次扫描不重复入库。第 9 条注释,第 95 行
desktop/src-tauri/crates/core/examples/real_verify_opencode.rs:95
// 核对允许输出的 UTC 汇总字段:调用数和 token 合计。