MCPcopy
hub / github.com/patriksimek/vm2 / realpath

Method realpath

lib/filesystem.js:64–66  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

62 // realpathSync will surface the missing-method error here, which the
63 // resolver translates into a deny-by-default. GHSA-cp6g-6699-wx9c.
64 realpath(path) {
65 return this.fs.realpathSync(path);
66 }
67
68 isSeparator(char) {
69 return char === '/' || char === this.path.sep;

Callers 2

isPathAllowedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected