MCPcopy Index your code
hub / github.com/coder/coder / RequestScan

Method RequestScan

agent/agentgit/agentgit.go:141–147  ·  view source on GitHub ↗

RequestScan pokes the scan trigger so the run loop performs a scan.

()

Source from the content-addressed store, hash-verified

139
140// RequestScan pokes the scan trigger so the run loop performs a scan.
141func (h *Handler) RequestScan() {
142 select {
143 case h.scanTrigger <- struct{}{}:
144 default:
145 // Already pending.
146 }
147}
148
149// Scan performs a scan of all subscribed repos and computes deltas
150// against the previously emitted snapshots.

Callers 2

handleWatchMethod · 0.95

Implementers 8

dispatchInterceptorcoderd/notifications/utils_test.go
chanHandlercoderd/notifications/utils_test.go
barrierHandlercoderd/notifications/metrics_test.go
fakeHandlercoderd/notifications/notifications_tes
santaHandlercoderd/notifications/manager_test.go
InboxHandlercoderd/notifications/dispatch/inbox.go
SMTPHandlercoderd/notifications/dispatch/smtp.go
WebhookHandlercoderd/notifications/dispatch/webhook.

Calls

no outgoing calls