Skip to main content

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: Array<{
from: string;
to: string;
overwrite?: boolean;
}>;
}, import("@backstage/types").JsonObject>

Returns:

import("@backstage/plugin-scaffolder-node").TemplateAction<{ files: Array<{ from: string; to: string; overwrite?: boolean; }>; }, import("@backstage/types").JsonObject>