Commit Graph

8 Commits

Author SHA1 Message Date
Cameron Cordes
a403dbda76 Omit files and print only match options added
These are essential for using the tool for scripting purposes.
2020-05-20 17:54:46 -04:00
Cameron Cordes
1229c05d8d Add basic gitignore functionality
No support for wildcards and exact matches might screw up nested
directories. The Globbing functionality seems like its going to be a
pain to properly match up.
2020-05-20 17:36:30 -04:00
Cameron Cordes
ee3e61b76d Extract most shared logic into SimplePrinter
This should hopefully allow for more command line options, like no
color, omitting line number and file names for better scriptability.
2020-05-19 23:23:15 -04:00
Cameron Cordes
263dad91da Organize code into separate files 2020-05-19 22:44:26 -04:00
Cameron Cordes
0daa2f4149 Ignore case and allowing the user to specify a path
Also ran rustfmt over the code.
2020-05-19 18:20:48 -04:00
Cameron Cordes
0dc8383d2e Fix massive memory allocation issue
Not exactly sure what was going on, other than cloning of the FileMatch
with its results, since it is recursive I believe this blew up the
stack/heap with unnecessary allocations. By using an iterator and filter
this seemed to greatly reduce memory use and improve speed.
2020-05-19 18:19:18 -04:00
Cameron Cordes
e1aa96dd78 Match highlighting and better colors in report 2020-05-19 15:17:09 -04:00
Cameron Cordes
b73e4d38f1 Initial commit
Still getting Config and argument parsing setup.
2020-04-26 23:18:40 -04:00