MCPcopy Create free account
hub / github.com/Monibuca/engine / API_list_pull

Method API_list_pull

http.go:187–195  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

185}
186
187func (conf *GlobalConfig) API_list_pull(w http.ResponseWriter, r *http.Request) {
188 util.ReturnFetchValue(func() (result []any) {
189 Pullers.Range(func(key, value any) bool {
190 result = append(result, value)
191 return true
192 })
193 return
194 }, w, r)
195}
196
197func (conf *GlobalConfig) API_list_push(w http.ResponseWriter, r *http.Request) {
198 util.ReturnFetchValue(func() (result []any) {

Callers

nothing calls this directly

Calls 2

ReturnFetchValueFunction · 0.92
RangeMethod · 0.45

Tested by

no test coverage detected