Function
createCodeLens
(title, cwd, call, target string, rng protocol.Range)
Source from the content-addressed store, hash-verified
| 50 | } |
| 51 | |
| 52 | func 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 | } |
Tested by
no test coverage detected