MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / appCollectionDTO

Method appCollectionDTO

internal/server/app_api_read.go:227–229  ·  view source on GitHub ↗
(c *models.Collection)

Source from the content-addressed store, hash-verified

225}
226
227func (s *Server) appCollectionDTO(c *models.Collection) AppCollection {
228 return AppCollection{Slug: c.Slug, Name: c.Name, Icon: c.Icon, IsSystem: c.IsSystem, Schema: appSchemaProjection(c)}
229}
230
231func (s *Server) appListCollections(w http.ResponseWriter, r *http.Request) {
232 ac := appContextFrom(r)

Callers 2

appListCollectionsMethod · 0.95
appGetCollectionMethod · 0.95

Calls 1

appSchemaProjectionFunction · 0.85

Tested by

no test coverage detected