summaryrefslogtreecommitdiff
path: root/msg.proto
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-28 14:39:02 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-28 14:39:02 -0400
commit46117017c4b2b7024da27150e0eda1408a819750 (patch)
tree5c40dea7d3651ecfb77365d74894c578f0f9781d /msg.proto
parentbce0ecbdb8af0d6f5c089c7f2139b58ff2f60624 (diff)
Add writeFileSync
Diffstat (limited to 'msg.proto')
-rw-r--r--msg.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/msg.proto b/msg.proto
index ecd636618..1a2abcbbf 100644
--- a/msg.proto
+++ b/msg.proto
@@ -21,6 +21,7 @@ message Msg {
FETCH_RES = 10;
READ_FILE_SYNC = 11;
READ_FILE_SYNC_RES = 12;
+ WRITE_FILE_SYNC = 13;
}
Command command = 1;
@@ -89,4 +90,10 @@ message Msg {
// READ_FILE_SYNC_RES
bytes read_file_sync_data = 120;
+
+ // WRITE_FILE_SYNC
+ string write_file_sync_filename = 130;
+ bytes write_file_sync_data = 131;
+ uint32 write_file_sync_perm = 132;
+ // write_file_sync_perm specified by https://godoc.org/os#FileMode
}