mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-18 13:00:10 -05:00
Add support for implicit workspace. Closes #2514 If snapshot-location is a local file path, copy snapshot instead of uploading. Closes #2550 Do not show snapshot upload status if --progress=false. Closes #2517 Replace --workspace with --snapshot-location. Closes #2512
10 lines
277 B
Go
10 lines
277 B
Go
package steampipeconfig
|
|
|
|
import "strings"
|
|
|
|
// IsCloudWorkspaceIdentifier returns whether name is a cloud workspace identifier
|
|
// of the form: {identity_handle}/{workspace_handle},
|
|
func IsCloudWorkspaceIdentifier(name string) bool {
|
|
return len(strings.Split(name, "/")) == 2
|
|
}
|