MCPcopy Create free account
hub / github.com/kopia/kopia / maybeQuote

Function maybeQuote

internal/server/api_cli.go:22–28  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

20}
21
22func maybeQuote(s string) string {
23 if !strings.Contains(s, " ") {
24 return s
25 }
26
27 return "\"" + s + "\""
28}

Callers 1

handleCLIInfoFunction · 0.85

Calls 1

ContainsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…