MCPcopy Create free account
hub / github.com/bytebase/bytebase / getWorkspaceId

Function getWorkspaceId

frontend/src/store/modules/v1/common.ts:67–70  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

65};
66
67export const getWorkspaceId = (name: string): string => {
68 const tokens = getNameParentTokens(name, [workspaceNamePrefix]);
69 return tokens[0];
70};
71
72export const getEnvironmentId = (name: string): string => {
73 const tokens = getNameParentTokens(name, [environmentNamePrefix]);

Callers

nothing calls this directly

Calls 1

getNameParentTokensFunction · 0.85

Tested by

no test coverage detected