(ref string)
| 3254 | } |
| 3255 | |
| 3256 | func workspaceRefLooksLikePath(ref string) bool { |
| 3257 | return filepath.IsAbs(ref) || |
| 3258 | strings.HasPrefix(ref, ".") || |
| 3259 | strings.Contains(ref, string(filepath.Separator)) |
| 3260 | } |
| 3261 | |
| 3262 | func canonicalCLIWorkspacePath(path string) (string, error) { |
| 3263 | trimmed := strings.TrimSpace(path) |
no test coverage detected