| |
|
|
|
|
|
|
|
| |
- Added watcher_test.go: 10 tests covering create, write, remove,
rename, ignored files, debouncing, directory creation/removal,
and manifest updates
- Refactored watch() to accept context.Context for clean cancellation
- Added signal handling (SIGINT/SIGTERM) for graceful shutdown in main.go
- Fixed test expectations (version two = 11 bytes, not 10)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|