MCPcopy Index your code
hub / github.com/react/react / preProcess

Function preProcess

packages/react-devtools-extensions/build.js:49–53  ·  view source on GitHub ↗
(destinationPath, tempPath)

Source from the content-addressed store, hash-verified

47};
48
49const preProcess = async (destinationPath, tempPath) => {
50 await remove(destinationPath); // Clean up from previously completed builds
51 await remove(tempPath); // Clean up from any previously failed builds
52 await ensureDir(tempPath); // Create temp dir for this new build
53};
54
55const build = async (tempPath, manifestPath, envExtension = {}) => {
56 const binPath = join(tempPath, 'bin');

Callers 1

mainFunction · 0.85

Calls 1

removeFunction · 0.85

Tested by

no test coverage detected