(bbox *v1pb.BoundingBox)
| 843 | } |
| 844 | |
| 845 | func convertV1BoundingBox(bbox *v1pb.BoundingBox) *storepb.BoundingBox { |
| 846 | if bbox == nil { |
| 847 | return nil |
| 848 | } |
| 849 | return &storepb.BoundingBox{ |
| 850 | Xmin: bbox.Xmin, |
| 851 | Ymin: bbox.Ymin, |
| 852 | Xmax: bbox.Xmax, |
| 853 | Ymax: bbox.Ymax, |
| 854 | } |
| 855 | } |
| 856 | |
| 857 | func convertStoreStorageConfig(storage *storepb.StorageConfig) *v1pb.StorageConfig { |
| 858 | if storage == nil { |
no outgoing calls
no test coverage detected