MCPcopy Create free account
hub / github.com/Ark0N/Codeman / validatePath

Method validatePath

src/file-stream-manager.ts:373–427  ·  view source on GitHub ↗

* Validate that a file path is safe to access. * Must be within the working directory (no path traversal).

(
    filePath: string,
    workingDir: string
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

createStreamMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected