Skip to main content

エイリアス

  • writefileasync

引数

string
必須
separator normalization、workspace-boundary checks、filename/extension checks の後に workspace 内へ解決される File path。Absolute paths は workspace 内に解決される場合だけ受け入れられます。
string
必須
書き込む Lua string bytes。データは binary truncate mode で書き込まれます。writefile は newlines、BOM bytes、null terminators、その他の extra bytes を追加しません。

例

workspace file に bytes を書き込み、existing contents を置き換えます。