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

Function FormatSheet

backend/common/resource_name.go:594–596  ·  view source on GitHub ↗
(projectID string, sheetSha256 string)

Source from the content-addressed store, hash-verified

592}
593
594func FormatSheet(projectID string, sheetSha256 string) string {
595 return fmt.Sprintf("%s/%s%s", FormatProject(projectID), SheetIDPrefix, sheetSha256)
596}
597
598func FormatIssue(projectID string, issueUID int64) string {
599 return fmt.Sprintf("%s/%s%d", FormatProject(projectID), IssueNamePrefix, issueUID)

Calls 1

FormatProjectFunction · 0.85

Tested by

no test coverage detected