MCPcopy Create free account
hub / github.com/bytebase/bytebase / convertToRange

Function convertToRange

backend/api/v1/rollout_service_converter.go:575–583  ·  view source on GitHub ↗
(r *storepb.Range)

Source from the content-addressed store, hash-verified

573}
574
575func convertToRange(r *storepb.Range) *v1pb.Range {
576 if r == nil {
577 return nil
578 }
579 return &v1pb.Range{
580 Start: r.Start,
581 End: r.End,
582 }
583}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected