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

Function WithProjectDiscovery

agent/agentcontainers/api.go:288–292  ·  view source on GitHub ↗

WithProjectDiscovery sets if the API should attempt to discover projects on the filesystem.

(projectDiscovery bool)

Source from the content-addressed store, hash-verified

286// WithProjectDiscovery sets if the API should attempt to discover
287// projects on the filesystem.
288func WithProjectDiscovery(projectDiscovery bool) Option {
289 return func(api *API) {
290 api.projectDiscovery = projectDiscovery
291 }
292}
293
294// WithDiscoveryAutostart sets if the API should attempt to autostart
295// projects that have been discovered

Callers 5

TestExpRptyFunction · 0.92
TestSSH_ContainerFunction · 0.92
workspaceAgentFunction · 0.92

Calls

no outgoing calls

Tested by 4

TestExpRptyFunction · 0.74
TestSSH_ContainerFunction · 0.74