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

Function FormatSpec

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

Source from the content-addressed store, hash-verified

657}
658
659func FormatSpec(projectID string, planUID int64, specID string) string {
660 return fmt.Sprintf("%s/%s%s", FormatPlan(projectID, planUID), SpecPrefix, specID)
661}
662
663func GetPolicyResourceTypeAndResource(requestName string) (storepb.Policy_Resource, *string, error) {
664 if requestName == "" {

Callers

nothing calls this directly

Calls 1

FormatPlanFunction · 0.85

Tested by

no test coverage detected