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

Method pathsAreEquivalent

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

* Smart path equivalence check. * Two paths are considered equivalent if: * 1. They normalize to the same path (standard case) * 2. One is a "shallow root path" (e.g., /test.txt) and the other is the * same filename inside the working directory - the shallow root path * is likel

(path1: string, path2: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

deduplicatePathsMethod · 0.95

Calls 4

normalizePathMethod · 0.95
getFilenameMethod · 0.95
isShallowRootPathMethod · 0.95
isPathInWorkingDirMethod · 0.95

Tested by

no test coverage detected