mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2026-07-21 19:05:39 +02:00
fix(watch): debounce fsnotify events, backfill archives, resilient walk
Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com>
This commit is contained in:
co-authored by
Belphemur
parent
e1e8ea92c1
commit
69c1a37577
@@ -123,6 +123,15 @@ golangci-lint run
|
||||
- **Error handling:** Always check errors explicitly; use structured error wrapping with `fmt.Errorf("context: %w", err)`
|
||||
- **Context usage:** Pass `context.Context` as first parameter for operations that may be cancelled
|
||||
|
||||
### Commit Messages
|
||||
|
||||
This project follows [Conventional Commits](https://www.conventionalcommits.org/). Prefix commit messages with a type (and optional scope), for example:
|
||||
|
||||
- `fix(watch): debounce fsnotify events before optimizing`
|
||||
- `feat(converter): add avif support`
|
||||
- `docs: clarify commit convention`
|
||||
- `chore: update dependency`
|
||||
|
||||
### Logging
|
||||
|
||||
Use **zerolog** for all logging:
|
||||
|
||||
Reference in New Issue
Block a user