mirror of
https://github.com/docker/compose.git
synced 2026-11-18 14:13:49 +00:00
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> |
||
|---|---|---|
| .. | ||
| debounce.go | ||
| debounce_test.go | ||
| dockerignore.go | ||
| dockerignore_test.go | ||
| ephemeral.go | ||
| ephemeral_test.go | ||
| notify.go | ||
| notify_test.go | ||
| paths.go | ||
| paths_test.go | ||
| temp.go | ||
| temp_dir_fixture.go | ||
| watcher_darwin.go | ||
| watcher_darwin_test.go | ||
| watcher_naive.go | ||
| watcher_naive_test.go | ||
| watcher_naive_walk_test.go | ||
| watcher_nonwin.go | ||
| watcher_windows.go | ||