MCPcopy Create free account
hub / github.com/Banrai/PiScan / processItems

Function processItems

client/ui/ui.go:237–283  ·  view source on GitHub ↗

processItems fetches all the Items for the given Account, and the compares them to the id list posted from the form. All the matches get applied the given function: delete, favorite, unfavorite, etc.

(w http.ResponseWriter, r *http.Request, dbCoords database.ConnCoordinates, fn func(*database.Item, *sqlite3.Conn), successTarget string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

DeleteItemsFunction · 0.85
FavoriteItemsFunction · 0.85
UnfavoriteItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected