afu-compare-folder
v1.0.0
Published
```javascript 用于比较两个目录里面文件删除,创建,修改等修改 let compare=require('afu-compare-folder') let ans=compare(remote,local) // remote 是文件夹前一刻的列表 // local 是文件夹修改后的列表 // 建议使用 afu-read-dir 读取文件夹,您可以通过npm i afu-read-dir --save 获取 // 返回结果 ans={ deleteItems:[],
Downloads
5
Readme
用于比较两个目录里面文件删除,创建,修改等修改
let compare=require('afu-compare-folder')
let ans=compare(remote,local)
// remote 是文件夹前一刻的列表
// local 是文件夹修改后的列表
// 建议使用 afu-read-dir 读取文件夹,您可以通过npm i afu-read-dir --save 获取
// 返回结果
ans={
deleteItems:[],
createItems:[],
updateItems:[]
}