GetLayerGraphFollowDepth returns the configured layer graph follow depth, or 0 if not set.
()
| 280 | |
| 281 | // GetLayerGraphFollowDepth returns the configured layer graph follow depth, or 0 if not set. |
| 282 | func (e *EffectPluginOptions) GetLayerGraphFollowDepth() int { |
| 283 | if e != nil && e.LayerGraphFollowDepth > 0 { |
| 284 | return e.LayerGraphFollowDepth |
| 285 | } |
| 286 | return 0 |
| 287 | } |
| 288 | |
| 289 | // GetAllowedDuplicatedPackages returns the list of package names allowed to |
| 290 | // have multiple versions, or nil if none are configured. |
no outgoing calls