UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

28 lines (16 loc) 596 B
[**minigame-std**](../../../README.md) *** [minigame-std](../../../README.md) / [fs](../README.md) / remove # Function: remove() ```ts function remove(path): AsyncVoidIOResult ``` Defined in: [src/std/fs/fs\_async.ts:104](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/fs/fs_async.ts#L104) 删除文件或目录。 ## Parameters | Parameter | Type | Description | | ------ | ------ | ------ | | `path` | `string` | 要删除的文件或目录的路径。 | ## Returns `AsyncVoidIOResult` 删除成功返回 true 的异步操作结果。