mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.gen.js, os_js: port the OS module to JS (#10872)
This commit is contained in:
13
vlib/os_js/os.v
Normal file
13
vlib/os_js/os.v
Normal file
@@ -0,0 +1,13 @@
|
||||
module os_js
|
||||
|
||||
pub const (
|
||||
// todo(playX): NodeJS does not seem to have any path limit?
|
||||
max_path_len = 4096
|
||||
)
|
||||
|
||||
pub struct Result {
|
||||
pub:
|
||||
exit_code int
|
||||
output string
|
||||
// stderr string // TODO
|
||||
}
|
||||
Reference in New Issue
Block a user