Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/node_modules/denoify/tools/transformCodebase.d.ts>transformCodebase

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function transformCodebase
import { transformCodebase } from "https://deno.land/x/windmill@v1.423.1/node_modules/denoify/tools/transformCodebase.d.ts";

Apply a transformation function to every file of directory

Parameters

params: { srcDirPath: string; destDirPath: string; transformSourceCodeString: (params: { sourceCode: string; filePath: string; }) => Promise<{ modifiedSourceCode: string; newFileName?: string; } | undefined>; }

Returns

Promise<void>