summaryrefslogtreecommitdiff
path: root/src/msg.fbs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-02-02 11:26:18 -0800
committerRyan Dahl <ry@tinyclouds.org>2019-02-02 14:26:18 -0500
commit0b082c4361c63768e5b8610cb22ad7c79e9214aa (patch)
tree7112e5bbe8bde2f316c8d5ef155acee0fa282cfe /src/msg.fbs
parent7ecd665ddf9e2a3d04dc5e65c57d05539ecf786d (diff)
Clarify writeFile options and avoid unexpected perm modification (#1643)
Diffstat (limited to 'src/msg.fbs')
-rw-r--r--src/msg.fbs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/msg.fbs b/src/msg.fbs
index 06a2d8660..1035d7149 100644
--- a/src/msg.fbs
+++ b/src/msg.fbs
@@ -295,8 +295,11 @@ table ReadDirRes {
table WriteFile {
filename: string;
data: [ubyte];
+ update_perm: bool;
perm: uint;
// perm specified by https://godoc.org/os#FileMode
+ is_create: bool;
+ is_append: bool;
}
table CopyFile {