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

Function stringNode

internal/compose/documentLink.go:54–59  ·  view source on GitHub ↗
(value ast.Node)

Source from the content-addressed store, hash-verified

52}
53
54func stringNode(value ast.Node) *ast.StringNode {
55 if s, ok := resolveAnchor(value).(*ast.StringNode); ok {
56 return s
57 }
58 return nil
59}
60
61func createdNestedLink(folderAbsolutePath string, wslDollarSign bool, serviceNode *ast.MappingValueNode, parent, child string) *protocol.DocumentLink {
62 if resolveAnchor(serviceNode.Key).GetToken().Value == parent {

Callers 5

createFileLinkFunction · 0.85
createImageLinkFunction · 0.85
createModelLinkFunction · 0.85
includedPathsFunction · 0.85
includedFilesFunction · 0.85

Calls 1

resolveAnchorFunction · 0.85

Tested by

no test coverage detected