(folderAbsolutePath, fsPath string, wslDollarSign bool)
| 162 | } |
| 163 | |
| 164 | func createLocalFileLink(folderAbsolutePath, fsPath string, wslDollarSign bool) (uri, path string) { |
| 165 | if filepath.IsAbs(fsPath) { |
| 166 | return fmt.Sprintf("file:///%v", strings.TrimPrefix(filepath.ToSlash(fsPath), "/")), fsPath |
| 167 | } |
| 168 | return types.Concatenate(folderAbsolutePath, fsPath, wslDollarSign) |
| 169 | } |
| 170 | |
| 171 | func createObjectFileLink(folderAbsolutePath string, wslDollarSign bool, serviceNode *ast.MappingValueNode) *protocol.DocumentLink { |
| 172 | if resolveAnchor(serviceNode.Key).GetToken().Value == "file" { |
no test coverage detected