MCPcopy Index your code
hub / github.com/darkreader/darkreader / getCwdPath

Function getCwdPath

tasks/copy.js:46–48  ·  view source on GitHub ↗
(srcPath)

Source from the content-addressed store, hash-verified

44
45 /** @type {(path: string) => string} */
46 const getCwdPath = (srcPath) => {
47 return srcPath.substring(srcDir.length + 1);
48 };
49
50 /** @type {(path: string, options: {debug: boolean; platform: any}) => Promise<void>} */
51 const copyEntry = async (path, {debug, platform}) => {

Callers 1

copyEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected