MCPcopy Index your code
hub / github.com/anomalyco/opencode / canonicalize-node-modules.ts

File canonicalize-node-modules.ts

nix/scripts/canonicalize-node-modules.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { lstat, mkdir, readdir, rm, symlink } from "fs/promises"
2import { join, relative } from "path"
3
4type Entry = {

Callers

nothing calls this directly

Calls 12

joinFunction · 0.85
parseEntryFunction · 0.85
isValidSemverFunction · 0.85
symlinkFunction · 0.85
pushMethod · 0.80
isDirectoryFunction · 0.70
cwdMethod · 0.65
getMethod · 0.65
rmFunction · 0.50
setMethod · 0.45
fromMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected