ember-apply
    Preparing search index...

    Function copyFileTo

    • Copy a file to some destination. In the options object, only one of source or content is needed.

      Parameters

      • destination: string
      • options: CopyOptions = {}

      Returns Promise<void>

      import { files } from 'ember-apply';

      await files.copyFileTo('destination/file.js', { source: 'source/file.js' });
      import { files } from 'ember-apply';

      await files.copyFileTo('destination/file.js', { content: 'file contents' });