cleanup, docs
This commit is contained in:
@@ -11,4 +11,7 @@ path : the new working directory
|
||||
Sets the host worker process current directory. In wasm this is a hostcall, so restore the previous directory when using it inside request code.
|
||||
|
||||
:example
|
||||
print("cwd_set example\n");
|
||||
String old = cwd_get();
|
||||
cwd_set("/tmp");
|
||||
print("cwd is now ", cwd_get(), "\n");
|
||||
cwd_set(old);
|
||||
|
||||
Reference in New Issue
Block a user