MCPcopy Create free account
hub / github.com/codemod/codemod / normalize_target_path

Function normalize_target_path

crates/cli/src/utils/path_safety.rs:37–49  ·  view source on GitHub ↗

Normalize a target path to an absolute, canonicalized form. If the path is relative, it is joined with the current directory. If the resulting path exists, it is canonicalized to resolve symlinks.

(path: PathBuf)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

handlerFunction · 0.85
handlerFunction · 0.85

Calls 3

joinMethod · 0.65
existsMethod · 0.45
canonicalizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…