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

Method isShallowRootPath

src/bash-tool-parser.ts:246–250  ·  view source on GitHub ↗

* Check if a path is a "shallow root path" - an absolute path with only one * component after root (e.g., /test.txt, /file.log). * These are often typos where the user meant a relative path.

(path: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

pathsAreEquivalentMethod · 0.95
pathsAreEquivalentFunction · 0.80

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected