compose/pkg/watch
Sebastiaan van Stijn f03c1b7cfb remove jonboulle/clockwork for testing/synctest
The fake clock is only used by tests to control the debounce timer,
but requires carrying a clock abstraction through production code.

Use the standard time package for the debounce ticker and use
testing/synctest to control time in tests instead.

This removes the clock from composeService and BatchDebounceEvents,
and eliminates the clockwork dependency from the watch implementation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-09-08 15:55:48 +02:00
..
debounce.go remove jonboulle/clockwork for testing/synctest 2026-09-08 15:55:48 +02:00
debounce_test.go remove jonboulle/clockwork for testing/synctest 2026-09-08 15:55:48 +02:00
dockerignore.go golangci-lint: use gci formatter instead of goimports 2025-12-01 12:21:50 +01:00
dockerignore_test.go Add license header to dockerignore_test.go 2024-10-28 12:26:45 +01:00
ephemeral.go Fix typos 2024-09-11 11:21:24 +02:00
ephemeral_test.go fix mixed assertion libraries in tests 2026-03-31 17:32:51 +02:00
notify.go pkg/watch: remove unused IsWindowsShortReadError 2025-09-24 09:29:27 +02:00
notify_test.go fix mixed assertion libraries in tests 2026-03-31 17:32:51 +02:00
paths.go feat(desktop): synchronized file share integration (#11614) 2024-03-20 14:41:24 -04:00
paths_test.go fix mixed assertion libraries in tests 2026-03-31 17:32:51 +02:00
temp.go chore: make function comment match function name 2025-04-16 13:33:16 +02:00
temp_dir_fixture.go
watcher_darwin.go fix panic 2026-01-29 09:57:49 +01:00
watcher_darwin_test.go fix panic 2026-01-29 09:57:49 +01:00
watcher_naive.go fix(watch): stop swallowing SetRecursive errors via nolint 2026-09-02 15:07:08 +02:00
watcher_naive_test.go test(watch): cover the permission branches as root 2026-08-11 14:10:40 +02:00
watcher_naive_walk_test.go test(watch): cover the permission branches as root 2026-08-11 14:10:40 +02:00
watcher_nonwin.go fix(watch): stop swallowing SetRecursive errors via nolint 2026-09-02 15:07:08 +02:00
watcher_windows.go fix(watch): stop swallowing SetRecursive errors via nolint 2026-09-02 15:07:08 +02:00