MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / resolvePath

Function resolvePath

tools/bash/validation.go:367–372  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

365}
366
367func resolvePath(path string) (string, error) {
368 if resolved, err := filepath.EvalSymlinks(path); err == nil {
369 return filepath.Abs(resolved)
370 }
371 return filepath.Abs(path)
372}
373
374func IsWindows() bool {
375 return runtime.GOOS == "windows"

Callers 2

IsPathWithinWorkspaceFunction · 0.85
ValidatePathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected