MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / findCliServerConnectionProfile

Function findCliServerConnectionProfile

apps/cli/src/server-profile.ts:214–220  ·  view source on GitHub ↗
(
  store: CliServerConnectionStore,
  name: string,
)

Source from the content-addressed store, hash-verified

212 });
213
214export const findCliServerConnectionProfile = (
215 store: CliServerConnectionStore,
216 name: string,
217): CliServerConnectionProfile | null => {
218 const profileName = validateCliServerConnectionProfileName(name);
219 return store.profiles.find((profile) => profile.name === profileName) ?? null;
220};
221
222export const defaultCliServerConnectionProfile = (
223 store: CliServerConnectionStore,

Callers 4

main.tsFile · 0.90
resolveLoginOriginFunction · 0.90

Tested by

no test coverage detected