1
0
Fork 0
mirror of https://github.com/archtechx/todo-system.git synced 2025-12-12 00:54:03 +00:00
todo-system/src
Samuel Štancl 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
..
entries.rs split code into modules 2023-11-22 18:55:10 +01:00
main.rs perf: store glob exclude patterns instead of traversing glob(...) 2025-09-13 23:13:30 +02:00
render.rs render: only show Other section if there are any entries 2025-09-13 23:09:56 +02:00
scan.rs perf: store glob exclude patterns instead of traversing glob(...) 2025-09-13 23:13:30 +02:00