MCPcopy Index your code
hub / github.com/nikivdev/go / cloneStrings

Function cloneStrings

workspace.go:214–221  ·  view source on GitHub ↗
(values []string)

Source from the content-addressed store, hash-verified

212}
213
214func cloneStrings(values []string) []string {
215 if len(values) == 0 {
216 return nil
217 }
218 out := make([]string, len(values))
219 copy(out, values)
220 return out
221}
222
223func normalizeWorkspacePath(raw string) (string, error) {
224 expanded, err := expandUserPath(raw)

Callers 2

listMethod · 0.70
setMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected