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

Function getProjectNamePlanId

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

Source from the content-addressed store, hash-verified

101};
102
103export const getProjectNamePlanId = (name: string): string[] => {
104 const tokens = getNameParentTokens(name, [projectNamePrefix, planNamePrefix]);
105 return [tokens[0], tokens[1]];
106};
107
108export const getProjectNamePlanIdPlanCheckRunId = (name: string): string[] => {
109 const tokens = getNameParentTokens(name, [

Calls 1

getNameParentTokensFunction · 0.85

Tested by

no test coverage detected