summaryrefslogtreecommitdiff
path: root/src/msg.fbs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2018-10-26 13:01:45 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-10-26 13:01:45 -0700
commita99aaf5def7d2e223f8303e7a00bd9de4d3efdf6 (patch)
tree21297f1d3d2ebbc2f61b113996110bb86a7b97a5 /src/msg.fbs
parentfe97217fa8483cb2e4f75a63b3a50e9df1c233b7 (diff)
Add chmod/chmodSync on unix (and fix Cargo.toml) (#1088)
Initial implementation by Srijan Reddy (@srijanreddy98, #672).
Diffstat (limited to 'src/msg.fbs')
-rw-r--r--src/msg.fbs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/msg.fbs b/src/msg.fbs
index 870da1c40..a3c9bcb84 100644
--- a/src/msg.fbs
+++ b/src/msg.fbs
@@ -13,6 +13,7 @@ union Any {
MakeTempDir,
MakeTempDirRes,
Mkdir,
+ Chmod,
Remove,
ReadFile,
ReadFileRes,
@@ -213,6 +214,12 @@ table Mkdir {
// mode specified by https://godoc.org/os#FileMode
}
+table Chmod {
+ path: string;
+ mode: uint;
+ // mode specified by https://godoc.org/os#FileMode
+}
+
table Remove {
path: string;
recursive: bool;