MCPcopy
hub / github.com/txthinking/brook / Link

Function Link

link.go:22–25  ·  view source on GitHub ↗
(kind, server string, v url.Values)

Source from the content-addressed store, hash-verified

20)
21
22func Link(kind, server string, v url.Values) string {
23 v.Set(kind, server)
24 return fmt.Sprintf("brook://%s?%s", kind, v.Encode())
25}
26
27func ParseLink(link string) (kind, server string, v url.Values, err error) {
28 var u *url.URL

Callers 1

mainFunction · 0.92

Calls 1

SetMethod · 0.80

Tested by

no test coverage detected