index.js 623 B

1234567891011121314151617181920212223
  1. 'use strict'
  2. const file = require('./file')
  3. const link = require('./link')
  4. const symlink = require('./symlink')
  5. module.exports = {
  6. // file
  7. createFile: file.createFile,
  8. createFileSync: file.createFileSync,
  9. ensureFile: file.createFile,
  10. ensureFileSync: file.createFileSync,
  11. // link
  12. createLink: link.createLink,
  13. createLinkSync: link.createLinkSync,
  14. ensureLink: link.createLink,
  15. ensureLinkSync: link.createLinkSync,
  16. // symlink
  17. createSymlink: symlink.createSymlink,
  18. createSymlinkSync: symlink.createSymlinkSync,
  19. ensureSymlink: symlink.createSymlink,
  20. ensureSymlinkSync: symlink.createSymlinkSync
  21. }