MCPcopy Create free account
hub / github.com/bcms/cms / replaceStringInFile

Function replaceStringInFile

_scripts/utils/file.ts:3–36  ·  view source on GitHub ↗
(config: {
    dirPath: string | string[];
    basePath: string;
    endsWith?: string[];
    regex: RegExp[];
})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

buildBackendPackageFunction · 0.90
buildBackendFunction · 0.90

Calls 7

fileTreeMethod · 0.95
readStringMethod · 0.95
saveMethod · 0.95
findMethod · 0.65
splitMethod · 0.45
joinMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected