add: rewriter logic and tests

This commit is contained in:
2025-03-29 22:44:06 -07:00
parent 116596a9e6
commit 5f44cb2f4e
10 changed files with 773 additions and 0 deletions

5
src/testdata/testdst/hello.txt vendored Normal file
View File

@@ -0,0 +1,5 @@
This is a line
This is abc line
This is def line
This is another line

View File

@@ -0,0 +1,4 @@
This is a abc line.
This is a def line.
In a nested directory.

4
src/testdata/testsrc/hello.txt vendored Normal file
View File

@@ -0,0 +1,4 @@
This is a line
This is to_be_replaced line
This is another line

View File

@@ -0,0 +1,3 @@
This is a to_be_replaced line.
In a nested directory.