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

Function githubItemPath

internal/mcp/dispatch_http_github.go:90–92  ·  view source on GitHub ↗
(workspace, ref string)

Source from the content-addressed store, hash-verified

88}
89
90func githubItemPath(workspace, ref string) string {
91 return "/api/v1/workspaces/" + url.PathEscape(workspace) + "/items/" + url.PathEscape(ref)
92}
93
94// refAsItemRef dispatches cmdPath with the catalog's `ref` under `item_ref`,
95// the name `pad github link [item-ref]` / `unlink <item-ref>` give their

Callers 2

dispatchGitHubLinkMethod · 0.85
dispatchGitHubUnlinkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected