aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2026-07-06 21:21:53 +0200
committerBernhard Guillon <Bernhard.Guillon@begu.org>2026-07-06 21:21:53 +0200
commit7512c95fa3f4b4e4ccdf452024f314a9a3c3b60f (patch)
treec38cfa736d70a2e2c5d1aae044f2c13ef96ae9fa /main.go
parentb505ac2fe010fcc24b774c313d33dc099214e8ed (diff)
downloadsourcewatch-7512c95fa3f4b4e4ccdf452024f314a9a3c3b60f.tar.gz
sourcewatch-7512c95fa3f4b4e4ccdf452024f314a9a3c3b60f.zip
Add sync and gitignore tests, fix loadGitignore bug
- Added gitignore_test.go: comprehensive tests for go-gitignore patterns - Verified: *, **, [], negation, anchored patterns, comments - Documented limitation: ? wildcard not supported by go-gitignore - Added sync_test.go: integration tests for initial sync - Tests: basic files, gitignore excludes, negation, double-star, directory patterns, symlinks, permissions, dry-run, .git skip, nested gitignore, complex combined patterns - Fixed gitignore.go: use CompileIgnoreFile instead of passing entire file content as single string to CompileIgnoreLines
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions