blob: c7eca9ce9adae2e886e6b21a5e8965687f33c97c [file] [log] [blame]
Alexander Afanasyev433ecda2013-01-02 22:13:45 -08001message ActionItem
2{
3 enum ActionType
4 {
5 UPDATE = 0;
6 DELETE = 1;
7 }
Zhenkai Zhub777a4d2013-01-18 09:40:46 -08008 required ActionType action = 0;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -08009
Zhenkai Zhub777a4d2013-01-18 09:40:46 -080010 required string filename = 1;
11 required uint64 version = 2;
12 required uint32 timestamp = 3;
13 optional uint64 seg_num = 4;
14 optional bytes file_hash = 5;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -080015
Zhenkai Zhub777a4d2013-01-18 09:40:46 -080016 optional uint32 mtime = 6;
17 optional uint32 mode = 7;
18 optional uint32 atime = 8;
19 optional uint32 ctime = 9;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -080020
Zhenkai Zhub777a4d2013-01-18 09:40:46 -080021 // optional bytes parent_device_name = 12;
22 // optional uint64 parent_seq_no = 13;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -080023}