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

Function githubItemPath

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

Source from the content-addressed store, hash-verified

86}
87
88func githubItemPath(workspace, ref string) string {
89 return "/api/v1/workspaces/" + url.PathEscape(workspace) + "/items/" + url.PathEscape(ref)
90}
91
92// refAsItemRef dispatches cmdPath with the catalog's `ref` under `item_ref`,
93// 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