summaryrefslogtreecommitdiff
path: root/cli/msg.fbs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-03-28 04:29:36 +0100
committerRyan Dahl <ry@tinyclouds.org>2019-03-27 23:29:36 -0400
commit597ee38ef28d040cbf4d629cf3d2bd3e89a70a11 (patch)
treeed376d8951cd986beddf6a96341cbf47a2d22a11 /cli/msg.fbs
parentd0b6152f11800b0baac1ae68d2eef7bfcea13cb5 (diff)
Rewrite readFile and writeFile (#2000)
Using open/read/write
Diffstat (limited to 'cli/msg.fbs')
-rw-r--r--cli/msg.fbs21
1 files changed, 0 insertions, 21 deletions
diff --git a/cli/msg.fbs b/cli/msg.fbs
index 243034cfb..e6b860908 100644
--- a/cli/msg.fbs
+++ b/cli/msg.fbs
@@ -39,8 +39,6 @@ union Any {
Read,
ReadDir,
ReadDirRes,
- ReadFile,
- ReadFileRes,
ReadRes,
Readlink,
ReadlinkRes,
@@ -69,7 +67,6 @@ union Any {
WorkerGetMessageRes,
WorkerPostMessage,
Write,
- WriteFile,
WriteRes,
}
@@ -296,14 +293,6 @@ table Remove {
recursive: bool;
}
-table ReadFile {
- filename: string;
-}
-
-table ReadFileRes {
- data: [ubyte];
-}
-
table ReadDir {
path: string;
}
@@ -312,16 +301,6 @@ table ReadDirRes {
entries: [StatRes];
}
-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 {
from: string;
to: string;