MCPcopy Index your code
hub / github.com/codeaashu/claude-code / supportsPersistence

Function supportsPersistence

src/utils/permissions/PermissionUpdate.ts:208–216  ·  view source on GitHub ↗
(
  destination: PermissionUpdateDestination,
)

Source from the content-addressed store, hash-verified

206}
207
208export function supportsPersistence(
209 destination: PermissionUpdateDestination,
210): destination is EditableSettingSource {
211 return (
212 destination === 'localSettings' ||
213 destination === 'userSettings' ||
214 destination === 'projectSettings'
215 )
216}
217
218/**
219 * Persists a permission update to the appropriate settings source

Callers 2

persistPermissionUpdateFunction · 0.85
persistPermissionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected