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

Function unixToWindowsPath

cli/open.go:590–592  ·  view source on GitHub ↗
(p string)

Source from the content-addressed store, hash-verified

588}
589
590func unixToWindowsPath(p string) string {
591 return strings.ReplaceAll(p, "/", "\\")
592}
593
594// resolveAgentAbsPath resolves the absolute path to a file or directory in the
595// workspace. If the path is relative, it will be resolved relative to the

Callers 2

windowsJoinPathFunction · 0.85
resolveAgentAbsPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected