createFilesystemReadDirAction()
Home > @backstage/plugin-scaffolder-backend > createFilesystemReadDirAction
Creates new action that enables reading directories in the workspace.
Signature:
createFilesystemReadDirAction: () => import("@backstage/plugin-scaffolder-node").TemplateAction<{
    paths: string[];
    recursive: boolean;
}, {
    files: {
        name: string;
        path: string;
        fullPath: string;
    }[];
    folders: {
        name: string;
        path: string;
        fullPath: string;
    }[];
}, "v2">
Returns:
import("@backstage/plugin-scaffolder-node").TemplateAction<{ paths: string[]; recursive: boolean; }, { files: { name: string; path: string; fullPath: string; }[]; folders: { name: string; path: string; fullPath: string; }[]; }, "v2">