MCPcopy Create free account
hub / github.com/christopherdro/react-native-print / removeFileDir

Function removeFileDir

scripts/examples_postinstall.js:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46};
47
48const removeFileDir = fileDirPath => {
49 try {
50 removeFileDirectoryRecursively(fileDirPath);
51 console.log(`Deleted: ${fileDirPath}`);
52 } catch (err) {
53 console.log(`Error deleting ${fileDirPath}: ${err.message}`);
54 }
55};
56
57/// Remove example/node_modules/react-native-library-name/node_modules directory
58const removeLibraryNodeModulesPath = nodeModulesPath => {

Callers 2

Calls 1

Tested by

no test coverage detected