Helper functions to safely extract meta fields
(meta *model.Meta)
| 951 | |
| 952 | // Helper functions to safely extract meta fields |
| 953 | func getMetaPath(meta *model.Meta) string { |
| 954 | if meta == nil { |
| 955 | return "nil" |
| 956 | } |
| 957 | return meta.Path |
| 958 | } |
| 959 | |
| 960 | func getMetaWrite(meta *model.Meta) bool { |
| 961 | if meta == nil { |
no outgoing calls
no test coverage detected