diff options
| author | J2P <jjp5023@gmail.com> | 2018-10-04 06:56:56 +0900 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-03 18:22:57 -0400 |
| commit | ea87034e2695f4b5d20e9e27392599bce36e6dd2 (patch) | |
| tree | a49fb1f8ddee8417a67efbc4dd1260252a5f6455 /src/msg.fbs | |
| parent | 4c0517c33938ab56b3126b35330b56a91891940b (diff) | |
Implemented readDirSync, readDir
Diffstat (limited to 'src/msg.fbs')
| -rw-r--r-- | src/msg.fbs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/msg.fbs b/src/msg.fbs index e4886b6a9..83dca11e6 100644 --- a/src/msg.fbs +++ b/src/msg.fbs @@ -16,6 +16,8 @@ union Any { Remove, ReadFile, ReadFileRes, + ReadDir, + ReadDirRes, WriteFile, CopyFile, Rename, @@ -191,6 +193,14 @@ table ReadFileRes { data: [ubyte]; } +table ReadDir { + path: string; +} + +table ReadDirRes { + entries: [StatRes]; +} + table WriteFile { filename: string; data: [ubyte]; @@ -235,6 +245,8 @@ table StatRes { created:ulong; mode: uint; has_mode: bool; // false on windows + name: string; + path: string; } table Truncate { |
