Skip to main content

editFileAndApplyDiff

@codebolt/codeboltjs


Function: editFileAndApplyDiff()

function editFileAndApplyDiff(
filePath: string,
diff: string,
diffIdentifier: string,
prompt: string,
applyModel?: string): Promise<FsEditFileAndApplyDiffResponse>;

Defined in: packages/codeboltjs/src/index.ts:427

Parameters

ParameterType
filePathstring
diffstring
diffIdentifierstring
promptstring
applyModel?string

Returns

Promise<FsEditFileAndApplyDiffResponse>