mirror of
https://github.com/deployphp/action.git
synced 2024-11-27 06:09:01 +00:00
24 lines
542 B
JavaScript
24 lines
542 B
JavaScript
'use strict'
|
|
|
|
const { createFile, createFileSync } = require('./file')
|
|
const { createLink, createLinkSync } = require('./link')
|
|
const { createSymlink, createSymlinkSync } = require('./symlink')
|
|
|
|
module.exports = {
|
|
// file
|
|
createFile,
|
|
createFileSync,
|
|
ensureFile: createFile,
|
|
ensureFileSync: createFileSync,
|
|
// link
|
|
createLink,
|
|
createLinkSync,
|
|
ensureLink: createLink,
|
|
ensureLinkSync: createLinkSync,
|
|
// symlink
|
|
createSymlink,
|
|
createSymlinkSync,
|
|
ensureSymlink: createSymlink,
|
|
ensureSymlinkSync: createSymlinkSync
|
|
}
|