mirror of
https://github.com/coder/coder.git
synced 2026-10-16 14:48:56 +08:00
chore: delete dead functions and skip-only or duplicated tests (#29461)
This commit is contained in:
@@ -33,13 +33,6 @@ func WithClock(c quartz.Clock) Option {
|
||||
}
|
||||
}
|
||||
|
||||
// WithGitBinary overrides the git binary path (for testing).
|
||||
func WithGitBinary(path string) Option {
|
||||
return func(h *Handler) {
|
||||
h.gitBin = path
|
||||
}
|
||||
}
|
||||
|
||||
const (
|
||||
// scanCooldown is the minimum interval between successive scans.
|
||||
scanCooldown = 1 * time.Second
|
||||
|
||||
Reference in New Issue
Block a user