MCPcopy Create free account
hub / github.com/compozy/agh / isPathLikeWorkspaceRef

Function isPathLikeWorkspaceRef

internal/cli/workspace.go:226–230  ·  view source on GitHub ↗
(ref string)

Source from the content-addressed store, hash-verified

224}
225
226func isPathLikeWorkspaceRef(ref string) bool {
227 return filepath.IsAbs(ref) ||
228 strings.HasPrefix(ref, ".") ||
229 strings.Contains(ref, string(filepath.Separator))
230}
231
232func workspaceEditFlagsChanged(cmd *cobra.Command) bool {
233 return cmd.Flags().Changed(automationNameKey) ||

Callers 1

resolveWorkspaceInfoRefFunction · 0.70

Calls 1

ContainsMethod · 0.80

Tested by

no test coverage detected