Skip to content

Commit d44e265

Browse files
committed
Add recycle id field to the recycle protobuf specification
1 parent cf88b86 commit d44e265

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

Rpc.proto

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,6 @@ message NSRequest {
325325
}
326326

327327
message RecycleRequest {
328-
string key = 1;
329-
330328
enum DisplayType {
331329
UID = 0;
332330
RID = 1;
@@ -335,12 +333,10 @@ message NSRequest {
335333

336334
enum RECYCLE_CMD {
337335
RESTORE = 0;
338-
PURGE = 1;
339-
LIST = 2;
336+
PURGE = 1;
337+
LIST = 2;
340338
}
341339

342-
RECYCLE_CMD cmd = 2;
343-
344340
message RestoreFlags {
345341
bool force = 1;
346342
bool mkpath = 2;
@@ -361,12 +357,14 @@ message NSRequest {
361357
int32 index = 5;
362358
DisplayType display = 6;
363359
string display_val = 7;
364-
365360
}
366361

367-
RestoreFlags restoreflag = 3;
368-
PurgeDate purgedate = 4;
369-
ListFlags listflag = 5;
362+
string key = 1;
363+
string recycleId = 2;
364+
RECYCLE_CMD cmd = 3;
365+
RestoreFlags restoreflag = 4;
366+
PurgeDate purgedate = 5;
367+
ListFlags listflag = 6;
370368
}
371369

372370
message SetXAttrRequest {

0 commit comments

Comments
 (0)