Editor
このコンテンツはまだ日本語訳がありません。
Host interface responsible for applying diffs on disk.
Methods
Section titled “Methods”createFile()
Section titled “createFile()”createFile(operation): Promise< | void| ApplyPatchResult>;Creates a new file from a V4A diff.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
{ |
|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<
| void
| ApplyPatchResult>
deleteFile()
Section titled “deleteFile()”deleteFile(operation): Promise< | void| ApplyPatchResult>;Deletes an existing file.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
{ |
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<
| void
| ApplyPatchResult>
updateFile()
Section titled “updateFile()”updateFile(operation): Promise< | void| ApplyPatchResult>;Updates an existing file based on a V4A diff.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
{ |
|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<
| void
| ApplyPatchResult>