summaryrefslogtreecommitdiff
path: root/src/msg.fbs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2018-09-30 15:06:41 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-09-30 18:06:41 -0400
commit50a9c2b575b383e72f64e16e83e540c215482e73 (patch)
treeb6ace8c3b76549b39c691029ad318accf09a6c90 /src/msg.fbs
parenteceeabdab29a8efab95990f2847fc21da39dfd66 (diff)
Add copyFile/copyFileSync (#863)
Diffstat (limited to 'src/msg.fbs')
-rw-r--r--src/msg.fbs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/msg.fbs b/src/msg.fbs
index 8b95ec741..ef2f4946b 100644
--- a/src/msg.fbs
+++ b/src/msg.fbs
@@ -20,6 +20,7 @@ union Any {
ReadFile,
ReadFileRes,
WriteFile,
+ CopyFile,
Rename,
Readlink,
ReadlinkRes,
@@ -214,6 +215,11 @@ table WriteFile {
// perm specified by https://godoc.org/os#FileMode
}
+table CopyFile {
+ from: string;
+ to: string;
+}
+
table Rename {
oldpath: string;
newpath: string;