MCPcopy Create free account
hub / github.com/dotzero/git-profile / entriesToMap

Function entriesToMap

cmd/add.go:169–177  ·  view source on GitHub ↗
(entries []config.Entry)

Source from the content-addressed store, hash-verified

167}
168
169func entriesToMap(entries []config.Entry) map[string]string {
170 values := make(map[string]string, len(entries))
171
172 for _, entry := range entries {
173 values[entry.Key] = entry.Value
174 }
175
176 return values
177}

Callers 1

profileUpdateEntriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected