MCPcopy
hub / github.com/codeaashu/claude-code / inputsEquivalent

Function inputsEquivalent

src/tools/FileEditTool/FileEditTool.ts:363–386  ·  view source on GitHub ↗
(input1, input2)

Source from the content-addressed store, hash-verified

361 return { result: true, meta: { actualOldString } }
362 },
363 inputsEquivalent(input1, input2) {
364 return areFileEditsInputsEquivalent(
365 {
366 file_path: input1.file_path,
367 edits: [
368 {
369 old_string: input1.old_string,
370 new_string: input1.new_string,
371 replace_all: input1.replace_all ?? false,
372 },
373 ],
374 },
375 {
376 file_path: input2.file_path,
377 edits: [
378 {
379 old_string: input2.old_string,
380 new_string: input2.new_string,
381 replace_all: input2.replace_all ?? false,
382 },
383 ],
384 },
385 )
386 },
387 async call(
388 input: FileEditInput,
389 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected