junobuild_shared::controllers

Function filter_admin_controllers

Source
pub fn filter_admin_controllers(controllers: &Controllers) -> Controllers
Expand description

Filters the set of controllers, returning only those with administrative scope.

§Arguments

  • controllers: Reference to the current set of controllers.

§Returns

A Controllers collection containing only admin controllers.