diff options
author | Gleb Davydov <23462908+Mifom@users.noreply.github.com> | 2022-04-24 20:25:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 19:25:50 +0200 |
commit | 5f466ff983b35176649e855ea60a2585f8b85847 (patch) | |
tree | 43fed03897b943229f8b228f926daf6946f29652 /src/queue.rs | |
parent | 13afbf6bba61035011dbc47159dbdce8a7110fc8 (diff) |
Change diff renamed files (#1040)
Diffstat (limited to 'src/queue.rs')
-rw-r--r-- | src/queue.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/queue.rs b/src/queue.rs index 3c404de8..7f013558 100644 --- a/src/queue.rs +++ b/src/queue.rs @@ -30,8 +30,10 @@ bitflags! { /// data of item that is supposed to be reset pub struct ResetItem { - /// path to the item (folder/file) - pub path: String, + /// old path to the item (folder/file) + pub old_path: Option<String>, + /// new path to the item (folder/file) + pub new_path: String, /// are talking about a folder here? otherwise it's a single file pub is_folder: bool, } |