(root, workspacePath string)
| 611 | } |
| 612 | |
| 613 | func localWorkspaceAddress(root, workspacePath string) string { |
| 614 | workspaceDir := filepath.Join(root, workspacePath) |
| 615 | return (&url.URL{ |
| 616 | Scheme: "file", |
| 617 | Path: filepath.ToSlash(workspaceDir), |
| 618 | }).String() |
| 619 | } |
| 620 | |
| 621 | func remoteWorkspaceAddress(cloneRef, workspacePath, version string) string { |
| 622 | return core.GitRefString(cloneRef, workspacePath, version) |