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

Function FormatStage

backend/common/resource_name.go:618–620  ·  view source on GitHub ↗

stageID is task environmentID.

(projectID string, planUID int64, stageID string)

Source from the content-addressed store, hash-verified

616
617// stageID is task environmentID.
618func FormatStage(projectID string, planUID int64, stageID string) string {
619 return fmt.Sprintf("%s/%s%s", FormatRollout(projectID, planUID), StagePrefix, stageID)
620}
621
622// stageID is task environmentID.
623func FormatTask(projectID string, planUID int64, stageID string, taskUID int64) string {

Callers 3

convertToRolloutFunction · 0.92
FormatTaskFunction · 0.85

Calls 1

FormatRolloutFunction · 0.85

Tested by

no test coverage detected