mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
readFileSync is working
This commit is contained in:
parent
1a80bcb250
commit
aba6a1dc87
8 changed files with 70 additions and 5 deletions
|
@ -5,9 +5,18 @@ package main;
|
|||
message Msg {
|
||||
enum MsgKind {
|
||||
LOAD = 0;
|
||||
READ_FILE_SYNC = 1;
|
||||
DATA_RESPONSE = 2;
|
||||
}
|
||||
MsgKind kind = 10;
|
||||
|
||||
// LOAD
|
||||
repeated string argv = 11;
|
||||
|
||||
// READ_FILE_SYNC
|
||||
string path = 12;
|
||||
|
||||
// DATA_RESPONSE
|
||||
bytes data = 13;
|
||||
string error = 14;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue