mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-29 14:10:27 +08:00
git: Rename FileDiff tag from state to status
To be more consistent in the use between state and status on radicle-interface.
This commit is contained in:
@@ -377,7 +377,7 @@ pub struct DiffFile {
|
||||
#[cfg_attr(
|
||||
feature = "serde",
|
||||
derive(Serialize),
|
||||
serde(tag = "state", rename_all = "camelCase")
|
||||
serde(tag = "status", rename_all = "camelCase")
|
||||
)]
|
||||
pub enum FileDiff {
|
||||
Added(Added),
|
||||
|
||||
Reference in New Issue
Block a user