Skip to main content
Version: Next

createFilesystemRenameAction()

Home > @backstage/plugin-scaffolder-backend > createFilesystemRenameAction

Creates a new action that allows renames of files and directories in the workspace.

Signature:

createFilesystemRenameAction: () => import("@backstage/plugin-scaffolder-node").TemplateAction<{
files: {
from: string;
to: string;
overwrite?: boolean | undefined;
}[];
}, {
[x: string]: any;
}, "v2">

Returns:

import("@backstage/plugin-scaffolder-node").TemplateAction<{ files: { from: string; to: string; overwrite?: boolean | undefined; }[]; }, { [x: string]: any; }, "v2">