MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / handleDoctorChecks

Method handleDoctorChecks

internal/sidecar/server.go:395–402  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

393}
394
395func (s *Server) handleDoctorChecks(w http.ResponseWriter, r *http.Request) {
396 if r.Method != http.MethodGet {
397 methodNotAllowed(w)
398 return
399 }
400 checks, err := s.services.Doctor.RunChecks(r.Context())
401 writeResult(w, checks, err)
402}
403
404func (s *Server) handleLaunchDryRun(w http.ResponseWriter, r *http.Request) {
405 if r.Method != http.MethodPost && r.Method != http.MethodGet {

Callers

nothing calls this directly

Calls 3

methodNotAllowedFunction · 0.85
writeResultFunction · 0.85
RunChecksMethod · 0.80

Tested by

no test coverage detected