feat: 调整相关API名称
This commit is contained in:
parent
d5aa98b716
commit
f19e51d8a7
@ -144,6 +144,7 @@ fs.path = fs.canonical = fs.realpath = path
|
||||
fs.write = fs.save = save
|
||||
fs.readdir = fs.list = list
|
||||
fs.rename = fs.move = move
|
||||
fs.delete = fs.del = del
|
||||
|
||||
Object.assign(fs, {
|
||||
concat: concat,
|
||||
@ -151,8 +152,7 @@ Object.assign(fs, {
|
||||
mkdirs: mkdirs,
|
||||
file: file,
|
||||
copy: copy,
|
||||
read: read,
|
||||
del: del
|
||||
read: read
|
||||
})
|
||||
|
||||
exports = module.exports = fs
|
Loading…
Reference in New Issue
Block a user