How to use the fs-admin.recursiveCopy function in fs-admin

To help you get started, we’ve selected a few fs-admin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github atom / atom / script / lib / install-application.js View on Github external
return new Promise((resolve, reject) => {
        fsAdmin.recursiveCopy(packagedAppPath, installationDirPath, error => {
          error ? reject(error) : resolve();
        });
      });
    }

fs-admin

Manipulate files with escalated privileges

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis