From 597ee38ef28d040cbf4d629cf3d2bd3e89a70a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 28 Mar 2019 04:29:36 +0100 Subject: Rewrite readFile and writeFile (#2000) Using open/read/write --- cli/msg.fbs | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'cli/msg.fbs') 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; -- cgit v1.2.3