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

Function createCodeLens

internal/bake/hcl/codeLens.go:52–67  ·  view source on GitHub ↗
(title, cwd, call, target string, rng protocol.Range)

Source from the content-addressed store, hash-verified

50}
51
52func createCodeLens(title, cwd, call, target string, rng protocol.Range) protocol.CodeLens {
53 return protocol.CodeLens{
54 Range: rng,
55 Command: &protocol.Command{
56 Title: title,
57 Command: types.BakeBuildCommandId,
58 Arguments: []any{
59 map[string]string{
60 "call": call,
61 "target": target,
62 "cwd": cwd,
63 },
64 },
65 },
66 }
67}

Callers 1

CodeLensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected