MCPcopy
hub / github.com/gopherdata/gophernotes / ensure

Function ensure

messages.go:240–245  ·  view source on GitHub ↗
(bundle MIMEMap)

Source from the content-addressed store, hash-verified

238}
239
240func ensure(bundle MIMEMap) MIMEMap {
241 if bundle == nil {
242 bundle = make(MIMEMap)
243 }
244 return bundle
245}
246
247func merge(a MIMEMap, b MIMEMap) MIMEMap {
248 if len(b) == 0 {

Callers 3

display.goFile · 0.85
PublishDisplayDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected