MCPcopy Index your code
hub / github.com/coder/coder / resolvePathUnsupported

Function resolvePathUnsupported

coderd/x/chatd/chattool/planpathresolve.go:43–46  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

41}
42
43func resolvePathUnsupported(err error) bool {
44 var statusErr interface{ StatusCode() int }
45 return xerrors.As(err, &statusErr) && statusErr.StatusCode() == http.StatusNotFound
46}
47
48func normalizeWorkspacePath(pathString string) string {
49 pathString = strings.TrimSpace(pathString)

Callers 1

Calls 2

AsMethod · 0.80
StatusCodeMethod · 0.45

Tested by

no test coverage detected