MCPcopy Create free account
hub / github.com/docker/docker-language-server / createObjectFileLink

Function createObjectFileLink

internal/compose/documentLink.go:171–176  ·  view source on GitHub ↗
(folderAbsolutePath string, wslDollarSign bool, serviceNode *ast.MappingValueNode)

Source from the content-addressed store, hash-verified

169}
170
171func createObjectFileLink(folderAbsolutePath string, wslDollarSign bool, serviceNode *ast.MappingValueNode) *protocol.DocumentLink {
172 if resolveAnchor(serviceNode.Key).GetToken().Value == "file" {
173 return createFileLink(folderAbsolutePath, wslDollarSign, serviceNode)
174 }
175 return nil
176}
177
178func createModelLink(serviceNode *ast.MappingValueNode) *protocol.DocumentLink {
179 if resolveAnchor(serviceNode.Key).GetToken().Value == "model" {

Callers 1

scanForLinksFunction · 0.85

Calls 2

resolveAnchorFunction · 0.85
createFileLinkFunction · 0.85

Tested by

no test coverage detected