cmds/core/grep: remove unused struct and rearrange fields#2714
Conversation
Signed-off-by: Siarhiej Siemianczuk <pdp.eleven11@gmail.com>
Signed-off-by: Siarhiej Siemianczuk <pdp.eleven11@gmail.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2714 +/- ##
==========================================
- Coverage 75.54% 75.38% -0.17%
==========================================
Files 415 415
Lines 42222 42221 -1
==========================================
- Hits 31897 31828 -69
- Misses 10325 10393 +68
☔ View full report in Codecov by Sentry. |
rminnich
left a comment
There was a problem hiding this comment.
I realize this is not part of the PR, but do you think we can move mainParams to main()
If so, this makes it easier to use this code in tinygo/tamago
The problem with moving mainParams to main is that we have _plan9 and _linux files. So they use different parameters for quite (silent) mode. So they need this global state mainParams. But may be we get rid both of them and support quite mode with -s and -q for any operating system. In this case everyone will be happy and we can move params into main. If it's ok? I can do separate PR for this. |
|
let's delete the _plan9 file and go with your idea. |
No description provided.