DefaultDetector is the default implementation of the Detector interface. It uses depth-first search (DFS) to detect cycles in role inheritance.
| 30 | // DefaultDetector is the default implementation of the Detector interface. |
| 31 | // It uses depth-first search (DFS) to detect cycles in role inheritance. |
| 32 | type DefaultDetector struct{} |
| 33 | |
| 34 | // NewDefaultDetector creates a new instance of DefaultDetector. |
| 35 | func NewDefaultDetector() *DefaultDetector { |
nothing calls this directly
no outgoing calls
no test coverage detected