别名
writefileasync
参数
string
必填
File path 会在 separator normalization、workspace-boundary checks 和 filename/extension checks 之后解析到 workspace 内。Absolute paths 只有在解析到 workspace 内时才会被接受。
string
必填
要写入的 Lua string bytes。数据以 binary truncate mode 写入;writefile 不会添加 newlines、BOM bytes、null terminators 或其他 extra bytes。