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

Function convertDeletedToState

backend/api/v1/common.go:36–41  ·  view source on GitHub ↗
(deleted bool)

Source from the content-addressed store, hash-verified

34)
35
36func convertDeletedToState(deleted bool) v1pb.State {
37 if deleted {
38 return v1pb.State_DELETED
39 }
40 return v1pb.State_ACTIVE
41}
42
43func isValidResourceID(resourceID string) bool {
44 return resourceIDMatcher.MatchString(resourceID)

Callers 8

convertToProjectFunction · 0.85
convertToReleaseFunction · 0.85
convertToUserFunction · 0.85
convertToServiceAccountFunction · 0.85
convertToV1InstanceFunction · 0.85
buildV1PlanFieldsFunction · 0.85
convertToDatabaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected