diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-28 14:39:02 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-28 14:39:02 -0400 |
| commit | 46117017c4b2b7024da27150e0eda1408a819750 (patch) | |
| tree | 5c40dea7d3651ecfb77365d74894c578f0f9781d /msg.proto | |
| parent | bce0ecbdb8af0d6f5c089c7f2139b58ff2f60624 (diff) | |
Add writeFileSync
Diffstat (limited to 'msg.proto')
| -rw-r--r-- | msg.proto | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 } |
