MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / repeatChar

Function repeatChar

src/plugins/system/utils/changeProvider.js:9–13  ·  view source on GitHub ↗
(char, times)

Source from the content-addressed store, hash-verified

7 const androidManifest = path.resolve(__dirname, "../../../platforms/android/app/src/main/AndroidManifest.xml");
8 const configXML = path.resolve(__dirname, "../../../config.xml");
9 const repeatChar = (char, times) => {
10 let res = "";
11 while (--times >= 0) res += char;
12 return res;
13 };
14
15 try {
16 const fileData = fs.readFileSync(configXML, "utf8");

Callers 1

changeProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected