MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / setDefaultsForProfile

Method setDefaultsForProfile

src/utils/session-store.ts:78–85  ·  view source on GitHub ↗
(profile: string | null, partial: Partial<SessionDefaults>)

Source from the content-addressed store, hash-verified

76 }
77
78 setDefaultsForProfile(profile: string | null, partial: Partial<SessionDefaults>): void {
79 const previous = this.getRawForProfile(profile);
80 const next = { ...previous, ...partial };
81 this.setDefaultsForResolvedProfile(profile, next);
82 this.revision += 1;
83 const profileLabel = this.getProfileLabel(profile);
84 log('info', `[Session] Defaults updated (${profileLabel}): ${Object.keys(partial).join(', ')}`);
85 }
86
87 clear(keys?: (keyof SessionDefaults)[]): void {
88 if (keys == null) {

Callers 3

setDefaultsMethod · 0.95

Calls 4

getRawForProfileMethod · 0.95
getProfileLabelMethod · 0.95
logFunction · 0.90

Tested by

no test coverage detected