MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getSettingsRequiringRestart

Function getSettingsRequiringRestart

packages/cli/src/utils/settingsUtils.ts:163–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 * Get settings that require restart
162 */
163export function getSettingsRequiringRestart(): Array<
164 SettingDefinition & {
165 key: string;
166 }
167> {
168 return Object.values(FLATTENED_SCHEMA).filter(
169 (definition) => definition.requiresRestart,
170 );
171}
172
173/**
174 * Validate if a setting key exists in the schema

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected