Skip to main content

Module edit

Module edit 

Source
Expand description

File write utilities for the edit_overwrite and edit_replace tools.

Enums§

EditError

Functions§

edit_overwrite_content
edit_replace_block
edit_replace_block_with_options
Same as edit_replace_block but with an explicit replace_all flag. When replace_all is true, all non-overlapping occurrences of old_text are replaced in a single pass.