MCPcopy Index your code
hub / github.com/cloudfoundry/cli / extractSlice

Function extractSlice

util/extract/extract.go:48–52  ·  view source on GitHub ↗
(app appender, path []string, input reflect.Value)

Source from the content-addressed store, hash-verified

46}
47
48func extractSlice(app appender, path []string, input reflect.Value) {
49 for i := 0; i < input.Len(); i++ {
50 extract(app, path, input.Index(i))
51 }
52}
53
54func extractStruct(app appender, path []string, input reflect.Value) {
55 v := input.FieldByName(path[0])

Callers 1

extractFunction · 0.85

Calls 2

extractFunction · 0.85
LenMethod · 0.45

Tested by

no test coverage detected