MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / escapeBackslashes

Function escapeBackslashes

test/common/index.js:10–10  ·  view source on GitHub ↗
(pathString)

Source from the content-addressed store, hash-verified

8const readline = require('readline');
9
10const escapeBackslashes = (pathString) => pathString.split('\\').join('\\\\');
11
12const noop = () => {};
13

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected