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

Method MustSlice

dnode/partial.go:123–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121}
122
123func (p *Partial) MustSlice() []*Partial {
124 a, err := p.Slice()
125 checkError(err)
126 return a
127}
128
129func (p *Partial) MustSliceOfLength(length int) []*Partial {
130 a, err := p.SliceOfLength(length)

Callers

nothing calls this directly

Calls 2

SliceMethod · 0.95
checkErrorFunction · 0.85

Tested by

no test coverage detected