DataAdapter
โบ append
DataAdapter.append() method
Add text to the end of a plaintext file.
Signature:
append(normalizedPath: string, data: string, options?: DataWriteOptions): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
normalizedPath | string | path to file, use normalizePath() to normalize beforehand. |
data | string | the text to append. |
options | DataWriteOptions | (Optional) (Optional) |
Returns:
Promise<void>