desktop/src-tauri/src/telemetry_setup/edit.rs
Comment 1, line 1
desktop/src-tauri/src/telemetry_setup/edit.rs:1
//! Targeted JSONC/TOML edits; never deserialize and rewrite a user's whole JSON file.Comment 2, line 45
desktop/src-tauri/src/telemetry_setup/edit.rs:45
// Limit nesting before recursively parsing user-controlled files.Comment 3, line 88
desktop/src-tauri/src/telemetry_setup/edit.rs:88
/// First non-whitespace/comment byte after a value, used for trailing commas.Comment 4, line 135
desktop/src-tauri/src/telemetry_setup/edit.rs:135
// Reuse the closing brace's newline rather than adding a new lineComment 5, line 136
desktop/src-tauri/src/telemetry_setup/edit.rs:136
// for every inserted property; preserve comments and blank lines.Comment 6, line 225
desktop/src-tauri/src/telemetry_setup/edit.rs:225
/// Revert owned values only; preserve later edits to other keys and report changedComment 7, line 226
desktop/src-tauri/src/telemetry_setup/edit.rs:226
/// owned values as conflicts instead of overwriting them.