Skip to main content

configured_permission_mode_from_settings

Function configured_permission_mode_from_settings 

Source
pub(crate) fn configured_permission_mode_from_settings(
    settings: &SessionLaunchSettings,
) -> Option<PermissionMode>
Expand description

The mode a spawn asked for, read back from the same launch settings the effort comes from.

None when the launch pinned nothing and when it pinned a mode forge cannot name: unlike effort there is no default to fall back on here, because the CLI’s own default is not a forge setting.