Ask a question to get started
Enter to send•Shift+Enter new line
Edit a file by replacing string occurrences.
Returns EditResult with files_update and occurrences.
edit( self, file_path: str, old_string: str, new_string: str, replace_all: bool = False ) -> EditResult