MCPcopy Index your code
hub / github.com/koding/kite / One

Method One

dnode/partial.go:135–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135func (p *Partial) One() *Partial {
136 return p.MustSliceOfLength(1)[0]
137}
138
139func (p *Partial) MustMap() map[string]*Partial {
140 m, err := p.Map()

Callers 15

TestSendErrorFunction · 0.80
TestKiteFunction · 0.80
SquareFunction · 0.80
SqrtFunction · 0.80
ServeKiteMethod · 0.80
handleLogMethod · 0.80
handlePrintFunction · 0.80
handlePromptFunction · 0.80
handleGetPassFunction · 0.80
handleTunnelFunction · 0.80
newRequestMethod · 0.80

Calls 1

MustSliceOfLengthMethod · 0.95

Tested by 7

TestSendErrorFunction · 0.64
TestKiteFunction · 0.64
SquareFunction · 0.64
SqrtFunction · 0.64
TestKite_MultipleDialFunction · 0.64
SquareFunction · 0.64