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

Function removeQuote

internal/compose/completion.go:270–275  ·  view source on GitHub ↗
(prefix string)

Source from the content-addressed store, hash-verified

268}
269
270func removeQuote(prefix string) string {
271 if len(prefix) > 0 && (prefix[0] == 34 || prefix[0] == 39) {
272 return prefix[1:]
273 }
274 return prefix
275}
276
277func createEnumItems(schema *jsonschema.Schema, params *protocol.CompletionParams, wordPrefixLength protocol.UInteger) []protocol.CompletionItem {
278 items := []protocol.CompletionItem{}

Callers 1

CompletionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected