updateFile
codebolt.fs.updateFile(filename: string, filePath: string, newContent: string): Promise<UpdateFileResponse>
Parameters
Name | Type | Description |
---|---|---|
filename | string | The name of the file to update. |
filePath | string | The path of the file to update. |
newContent | string | The new content to write into the file. |
Returns:
Promise<UpdateFileResponse>
A promise that resolves with the server response.Status
Comming soon...