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

Method cloneDefaults

src/utils/session-store.ts:32–38  ·  view source on GitHub ↗
(defaults: SessionDefaults)

Source from the content-addressed store, hash-verified

30 private revision = 0;
31
32 private cloneDefaults(defaults: SessionDefaults): SessionDefaults {
33 const copy = { ...defaults };
34 if (copy.env) {
35 copy.env = { ...copy.env };
36 }
37 return copy;
38 }
39
40 private getProfileLabel(profile: string | null): string {
41 return profile ?? 'global';

Callers 2

getRawForProfileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected