MCPcopy Create free account
hub / github.com/entireio/git-sync / validationMappings

Function validationMappings

client.go:260–269  ·  view source on GitHub ↗
(mappings []RefMapping)

Source from the content-addressed store, hash-verified

258}
259
260func validationMappings(mappings []RefMapping) []validation.RefMapping {
261 out := make([]validation.RefMapping, 0, len(mappings))
262 for _, mapping := range mappings {
263 out = append(out, validation.RefMapping{
264 Source: mapping.Source,
265 Target: mapping.Target,
266 })
267 }
268 return out
269}

Callers 2

ValidateMethod · 0.70
ValidateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected