3 Commits
Author SHA1 Message Date
df2e64ead1 refactor(fsext): improve hierarchical ignore handling and consolidate file exclusion logic (#999)
* refactor(fsext): improve hierarchical ignore handling and consolidate file exclusion logic

- Refactor FastGlobWalker to use directoryLister for consistent ignore handling
- Add ShouldExcludeFile function for unified file exclusion checking
- Add WalkDirectories function for directory traversal with ignore support
- Improve directory pattern matching by checking both with and without trailing slash
- Add comprehensive tests for hierarchical ignore behavior and common patterns
- Remove direct dependency on go-gitignore in favor of existing directoryLister implementation

💖 Generated with Crush
Co-Authored-By: Crush <crush@charm.land>

* fix: improvements

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: t.Context()

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Crush <crush@charm.land>
2025-09-10 08:03:38 -03:00
Andrey Nering 436aa017e4 fix(windows): use mvdan/sh + general fixes 2025-07-15 10:02:29 -03:00
Kujtim Hoxha baad28ac90 chore: move shell to its own package 2025-06-28 13:35:50 +02:00