minigame-std
Version:
Mini Game Standard Development Library.
29 lines (17 loc) • 596 B
Markdown
[**minigame-std**](../../../README.md)
***
[minigame-std](../../../README.md) / [fs](../README.md) / appendFileSync
# Function: appendFileSync()
```ts
function appendFileSync(filePath, contents): VoidIOResult
```
`appendFile` 的同步版本。
## Parameters
| Parameter | Type |
| ------ | ------ |
| `filePath` | `string` |
| `contents` | [`WriteFileContent`](../type-aliases/WriteFileContent.md) |
## Returns
`VoidIOResult`
## Defined in
[src/std/fs/fs\_sync.ts:136](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/fs/fs_sync.ts#L136)