MCPcopy Create free account
hub / github.com/EvilFreelancer/openapi-to-cli / setCurrentProfile

Method setCurrentProfile

src/profile-store.ts:131–135  ·  view source on GitHub ↗
(cwd: string, name: string)

Source from the content-addressed store, hash-verified

129 }
130
131 setCurrentProfile(cwd: string, name: string): void {
132 const configPaths = this.getConfigPaths(cwd);
133 this.ensureConfigDir(configPaths);
134 this.writeCurrentProfileName(configPaths, name);
135 }
136
137 saveProfile(
138 cwd: string,

Callers 2

runFunction · 0.80

Calls 3

getConfigPathsMethod · 0.95
ensureConfigDirMethod · 0.95

Tested by

no test coverage detected