returns empty if it's no layout or empty layout and empty configuration's layout.
(layout string, globalLayout string)
| 105 | |
| 106 | // returns empty if it's no layout or empty layout and empty configuration's layout. |
| 107 | func getLayout(layout string, globalLayout string) string { |
| 108 | if layout == NoLayout { |
| 109 | return "" |
| 110 | } |
| 111 | |
| 112 | if layout == "" && globalLayout != "" { |
| 113 | return globalLayout |
| 114 | } |
| 115 | |
| 116 | return layout |
| 117 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…