Expand description
Tauri commands for the diff preview / confirmation framework.
§Commands
diff_preview_create— create a new pending diff; returnsDiffId.diff_preview_cancel— cancel a pending diff; voids future confirms.
§OCP
The kind discriminator in diff_preview_create is a string that maps to
a DiffPayload variant. Adding a new kind = one new parse branch in the
match below + one new enum variant in diff/mod.rs. Existing kinds are
unaffected.
Functions§
- diff_
preview_ cancel - Cancel a pending diff record, voiding any future confirm attempts.
- diff_
preview_ create - Create a pending diff record and return its
DiffId. - parse_
storage_ 🔒class_ payload - Parse the raw
payloadJSON intoDiffPayload::StorageClass.