Skip to main content
Version: Next

fetchContents

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

Warning: This API is now obsolete.

Use fetchContents from @backstage/plugin-scaffolder-node instead

A helper function that reads the contents of a directory from the given URL. Can be used in your own actions, and also used behind fetch:template and fetch:plain

Signature:

fetchContents: typeof fetchContentsNode