MCPcopy
hub / github.com/perkeep/perkeep / getJSONMapArray

Function getJSONMapArray

pkg/client/enumerate.go:172–179  ·  view source on GitHub ↗
(m map[string]interface{}, key string)

Source from the content-addressed store, hash-verified

170}
171
172func getJSONMapArray(m map[string]interface{}, key string) ([]interface{}, bool) {
173 if v, ok := m[key]; ok {
174 if a, ok := v.([]interface{}); ok {
175 return a, true
176 }
177 }
178 return nil, false
179}

Callers 1

EnumerateBlobsOptsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected