(controllers []string, prefix string)
| 323 | ) |
| 324 | |
| 325 | func toggleFunc(controllers []string, prefix string) []string { |
| 326 | out := make([]string, len(controllers)) |
| 327 | for i, c := range controllers { |
| 328 | out[i] = prefix + c |
| 329 | } |
| 330 | return out |
| 331 | } |
| 332 | |
| 333 | func (c *Manager) ToggleControllers(controllers []string, t ControllerToggle) error { |
| 334 | // when c.path is like /foo/bar/baz, the following files need to be written: |
no outgoing calls
no test coverage detected
searching dependent graphs…