MCPcopy Create free account
hub / github.com/Tencent/libpag / buildReplacementPath

Function buildReplacementPath

web/script/restore.replace.js:70–73  ·  view source on GitHub ↗
(depth)

Source from the content-addressed store, hash-verified

68}
69
70function buildReplacementPath(depth) {
71 const prefix = '../'.repeat(depth + 2);
72 return prefix + 'third_party/tgfx/web/src/';
73}
74
75function replacePathInFiles(rootDir) {
76 const extension = '.d.ts';

Callers 1

replacePathInFilesFunction · 0.85

Calls 1

repeatMethod · 0.45

Tested by

no test coverage detected