mark_files_converted_in_context

Marks a file as converted in the context by mapping the old file path to the new provided file paths.

Arguments

NameTypeDescriptionRequired

old_file_path

string

The original file path to be marked as converted.

new_file_paths

array

A list of new file paths that replace the old file.

done_converting

boolean

Whether this should be included in future context lookups or if we are still adding to it.

Returns

TypeDescription

boolean

A boolean indicating if the old file has been marked as converted.

Example

- name: mark_files_converted_in_context
  arguments:
    done_converting: true/false
    old_file_path: <old-file-path>
    new_file_paths:
      - <new-file-path-1>
      - <new-file-path-2>
  returns: true/false

Last updated