1
0
Fork 0
mirror of https://github.com/archtechx/todo-system.git synced 2025-12-12 00:54:03 +00:00
Commit graph

21 commits

Author SHA1 Message Date
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
d4bf97ce12 fix: handle lines starting with # in md files better 2025-09-13 20:23:49 +02:00
e83185a687 Ignore colons (fix #2) 2024-03-13 20:35:48 +01:00
9fe36adf20 clippy 2024-03-12 18:45:53 +01:00
b4a74cb633 support scanning todo!() Rust macros 2023-12-11 11:09:02 +01:00
Samuel Štancl
a9a6a66b96 improve string scanning 2023-11-27 03:07:47 +01:00
Samuel Štancl
a25a5a8463 fix readme scanner 2023-11-27 02:57:28 +01:00
Samuel Štancl
d08da09de1 more gitignore logic improvements 2023-11-27 02:21:41 +01:00
Samuel Štancl
7bb891503f move tests to a separate module 2023-11-25 20:48:32 +01:00
Samuel Štancl
ffd29a34ec remove dbg statement 2023-11-24 19:33:55 +01:00
Samuel Štancl
ea399a9c3b finalize gitignore logic 2023-11-24 19:33:11 +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
61a78bcdd6 fix glob() logic 2023-11-24 04:36:28 +01:00
Samuel Štancl
dcbb07ac46 recursively scan .gitignore files for excludes 2023-11-24 03:23:48 +01:00
Samuel Štancl
a346a61c7c support indented nested list items in .md files 2023-11-23 17:08:47 +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
b5bbe710ff right-trim --> comments 2023-11-23 01:39:52 +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