INNER CODE UNIT · TypeScript

applyPatch

totec448-spec/chat-on-steroids · src/main/codex/apply-patch/index.ts:164

export async function applyPatch(
  patch: string,
  cwd: string,
  stdout: Writer,
  stderr: Writer,
  resolvePath: PatchPathResolver = defaultPathResolver
): Promise<AppliedPatchDelta> {
  return await applyPatchWithMode(
    patch,
    DEFAULT_APPLY_PATCH_FILE_UPDATE_MODE,
    cwd,
    stdout,
    stderr,
    resolvePath
  );
}

/** `apply_patch_with_mode`. */

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…