Skip to content

Commit

Permalink
config/File: make file encoding optional
Browse files Browse the repository at this point in the history
  • Loading branch information
machinekoder committed Feb 22, 2022
1 parent dc5ce66 commit d7dcbd2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/machinetalk/protobuf/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ message File {

option (nanopb_msgopt).msgid = 200; // see README.msgid

required string name = 1; // file name or path, flat for now
required FileContent encoding = 2; // file encoding
optional bytes blob = 3 [default = ""]; // file data
optional uint32 size = 4 [default = 0]; // file size
optional bool is_dir = 5 [default = false]; // indicates if file is actually a directo
optional uint64 last_modified = 6 [default = 0]; // timestamp of last modification
required string name = 1; // file name or path, flat for now
optional FileContent encoding = 2 [default = CLEARTEXT]; // file encoding
optional bytes blob = 3 [default = ""]; // file data
optional uint32 size = 4 [default = 0]; // file size
optional bool is_dir = 5 [default = false]; // indicates if file is actually a directo
optional uint64 last_modified = 6 [default = 0]; // timestamp of last modification
}

message Application {
Expand Down

0 comments on commit d7dcbd2

Please sign in to comment.