MCPcopy Create free account
hub / github.com/aws-cloudformation/rain / keys

Method keys

cft/diff/diff.go:138–148  ·  view source on GitHub ↗

keys returns the dmap's keys

()

Source from the content-addressed store, hash-verified

136
137// keys returns the dmap's keys
138func (m dmap) keys() []string {
139 keys := make([]string, len(m))
140
141 i := 0
142 for k := range m {
143 keys[i] = k
144 i++
145 }
146
147 return keys
148}
149
150// String returns a string representation of the dmap
151func (m dmap) String() string {

Callers 1

formatMapFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected