mirror of
https://github.com/samuelncui/yatm.git
synced 2025-12-23 06:15:22 +00:00
20 lines
349 B
Protocol Buffer
20 lines
349 B
Protocol Buffer
syntax = "proto3";
|
|
package file;
|
|
option go_package = "github.com/samuelncui/yatm/entity";
|
|
|
|
message File {
|
|
int64 id = 1;
|
|
int64 parent_id = 2;
|
|
string name = 3;
|
|
|
|
int64 mode = 17;
|
|
int64 mod_time = 18;
|
|
int64 size = 19;
|
|
bytes hash = 20;
|
|
}
|
|
|
|
message EditedFile {
|
|
optional int64 parent_id = 2;
|
|
optional string name = 3;
|
|
}
|