MCPcopy
hub / github.com/NVIDIA/aistore / checkRESTItems

Function checkRESTItems

dsort/handler.go:782–790  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request, itemsAfter int, items []string)

Source from the content-addressed store, hash-verified

780}
781
782func checkRESTItems(w http.ResponseWriter, r *http.Request, itemsAfter int, items []string) ([]string, error) {
783 items, err := cmn.MatchRESTItems(r.URL.Path, itemsAfter, true, items)
784 if err != nil {
785 cmn.WriteErr(w, r, err)
786 return nil, err
787 }
788
789 return items, err
790}
791
792// Determine what dsorter type we should use. We need to make this decision
793// based on eg. how much memory targets have.

Callers 11

ProxyAbortSortHandlerFunction · 0.70
ProxyRemoveSortHandlerFunction · 0.70
SortHandlerFunction · 0.70
initSortHandlerFunction · 0.70
startSortHandlerFunction · 0.70
shardsHandlerFunction · 0.70
recordsHandlerFunction · 0.70
abortSortHandlerFunction · 0.70
removeSortHandlerFunction · 0.70
metricsHandlerFunction · 0.70
finishedAckHandlerFunction · 0.70

Calls 2

MatchRESTItemsFunction · 0.92
WriteErrFunction · 0.92

Tested by

no test coverage detected