MCPcopy Create free account
hub / github.com/nikivdev/go / workspaceListFromArg

Function workspaceListFromArg

workspace.go:151–155  ·  view source on GitHub ↗
(arg string)

Source from the content-addressed store, hash-verified

149}
150
151func workspaceListFromArg(arg string) (workspaceList, bool) {
152 arg = strings.TrimSpace(strings.ToLower(arg))
153 list, ok := workspaceListAliases[arg]
154 return list, ok
155}
156
157func loadWorkspaceFile(path string) (*workspaceDocument, error) {
158 data, err := os.ReadFile(path)

Callers 1

workspacePathsCmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected