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

Function FormatPlan

backend/common/resource_name.go:649–651  ·  view source on GitHub ↗
(projectID string, planUID int64)

Source from the content-addressed store, hash-verified

647}
648
649func FormatPlan(projectID string, planUID int64) string {
650 return fmt.Sprintf("%s/%s%d", FormatProject(projectID), PlanPrefix, planUID)
651}
652
653// FormatPlanCheckRun formats a plan check run singleton resource name.
654// Format: projects/{project}/plans/{plan}/planCheckRun

Callers 5

convertToIssueMethod · 0.92
buildV1PlanFieldsFunction · 0.92
FormatRolloutFunction · 0.85
FormatPlanCheckRunFunction · 0.85
FormatSpecFunction · 0.85

Calls 1

FormatProjectFunction · 0.85

Tested by

no test coverage detected