共用方式為


ApplyPatchCreateFileOperationParam interface

透過 apply_patch 工具建立新檔案的說明。

Extends

屬性

diff

建立檔案時要套用統一差異內容。

path

相對於工作區根目錄建立的檔案路徑。

type

作業類型。 一律為 create_file

屬性詳細資料

diff

建立檔案時要套用統一差異內容。

diff: string

屬性值

string

path

相對於工作區根目錄建立的檔案路徑。

path: string

屬性值

string

type

作業類型。 一律為 create_file

type: "create_file"

屬性值

"create_file"