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

Method handleConfigFiles

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

Source from the content-addressed store, hash-verified

385}
386
387func (s *Server) handleConfigFiles(w http.ResponseWriter, r *http.Request) {
388 if r.Method != http.MethodGet {
389 methodNotAllowed(w)
390 return
391 }
392 writeJSON(w, s.services.Config.ListFiles())
393}
394
395func (s *Server) handleDoctorChecks(w http.ResponseWriter, r *http.Request) {
396 if r.Method != http.MethodGet {

Callers

nothing calls this directly

Calls 3

methodNotAllowedFunction · 0.85
ListFilesMethod · 0.80
writeJSONFunction · 0.70

Tested by

no test coverage detected