DefaultProjectID returns the default project resource ID for a workspace.
(workspaceID string)
| 28 | |
| 29 | // DefaultProjectID returns the default project resource ID for a workspace. |
| 30 | func DefaultProjectID(workspaceID string) string { |
| 31 | return defaultProjectPrefix + workspaceID |
| 32 | } |
| 33 | |
| 34 | // IsDefaultProject returns whether a project resource ID is the default project. |
| 35 | // Handles both new format ("default-{workspaceID}") and legacy format ("default"). |
no outgoing calls