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

Method GetCollection

internal/cli/client.go:182–185  ·  view source on GitHub ↗
(wsSlug, collSlug string)

Source from the content-addressed store, hash-verified

180}
181
182func (c *Client) GetCollection(wsSlug, collSlug string) (*models.Collection, error) {
183 var result models.Collection
184 return &result, c.get("/workspaces/"+wsSlug+"/collections/"+collSlug, &result)
185}
186
187func (c *Client) UpdateCollection(wsSlug, collSlug string, input models.CollectionUpdate) (*models.Collection, error) {
188 var result models.Collection

Callers 2

createCmdFunction · 0.45
updateCmdFunction · 0.45

Calls 1

getMethod · 0.95

Tested by

no test coverage detected