32a57ab5fb
perf: store glob exclude patterns instead of traversing glob(...)
...
Previously add_excludes_from_gitignore() would use glob() and
recursively traverse the generated paths to add them to excludes.
Now we store excludes as an enum - Path or Glob - and use the glob
crate's `Pattern.matches_path()` as needed, instead of the preemptive
traversal.
2025-09-13 23:13:30 +02:00
Samuel Štancl
323758d069
make import syntax consistent
2023-11-27 02:23:04 +01:00
Samuel Štancl
d08da09de1
more gitignore logic improvements
2023-11-27 02:21:41 +01:00
Samuel Štancl
0d0795dcaa
optimize gitignore logic to correctly handle * excludes
2023-11-24 19:28:52 +01:00
Samuel Štancl
35688138e7
improve gitignore logic
2023-11-24 04:52:15 +01:00
Samuel Štancl
dcbb07ac46
recursively scan .gitignore files for excludes
2023-11-24 03:23:48 +01:00
Samuel Štancl
887199995a
add todos_path and readme_path to excludes to avoid double counting priority todos
2023-11-23 17:05:51 +01:00
Samuel Štancl
1a2c812c3f
fix Args docblocks
2023-11-22 22:29:41 +01:00
Samuel Štancl
5737232baa
scan todos in readme.md
2023-11-22 22:13:31 +01:00
Samuel Štancl
c708a45ab9
todo.md parsing logic
2023-11-22 21:40:04 +01:00
Samuel Štancl
46d2ebacd3
split code into modules
2023-11-22 18:55:10 +01:00
Samuel Štancl
5cda67a4cd
ansi
2023-11-22 15:44:25 +01:00
Samuel Štancl
574cee8895
CLI arg parsing
2023-11-22 02:32:35 +01:00
Samuel Štancl
15c2c7d3f0
add readme, ignore some directories
2023-11-22 00:47:07 +01:00
Samuel Štancl
80e074f60b
struct refactor
2023-11-22 00:19:13 +01:00
Samuel Štancl
345c07c7f8
rendering improvements
2023-11-21 23:36:49 +01:00
Samuel Štancl
da228dd8e4
markdown rendering logic
2023-11-21 23:24:17 +01:00
Samuel Štancl
ff449718df
parsing logic
2023-11-21 20:40:38 +01:00
Samuel Štancl
f83171e37d
initial commit
2023-11-21 17:28:46 +01:00