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

Function hasRestartRequiredSettings

packages/cli/src/utils/settingsUtils.ts:339–343  ·  view source on GitHub ↗
(
  modifiedSettings: Set<string>,
)

Source from the content-addressed store, hash-verified

337 * Check if any modified settings require a restart
338 */
339export function hasRestartRequiredSettings(
340 modifiedSettings: Set<string>,
341): boolean {
342 return Array.from(modifiedSettings).some((key) => requiresRestart(key));
343}
344
345/**
346 * Get the restart required settings from a set of modified settings

Callers 2

generateSettingsItemsFunction · 0.85

Calls 1

requiresRestartFunction · 0.85

Tested by

no test coverage detected