MCPcopy Create free account
hub / github.com/nsf/gocode / cmd_set

Function cmd_set

client.go:175–184  ·  view source on GitHub ↗
(c *rpc.Client)

Source from the content-addressed store, hash-verified

173}
174
175func cmd_set(c *rpc.Client) {
176 switch flag.NArg() {
177 case 1:
178 fmt.Print(client_set(c, "\x00", "\x00"))
179 case 2:
180 fmt.Print(client_set(c, flag.Arg(1), "\x00"))
181 case 3:
182 fmt.Print(client_set(c, flag.Arg(1), flag.Arg(2)))
183 }
184}
185
186func cmd_options(c *rpc.Client) {
187 fmt.Print(client_options(c, 0))

Callers 1

do_clientFunction · 0.85

Calls 1

client_setFunction · 0.85

Tested by

no test coverage detected