detect-conflicts:重命名为jonschlinkertconflicts,请改用

时间:2021-05-15 08:27:42
【文件属性】:
文件名称:detect-conflicts:重命名为jonschlinkertconflicts,请改用
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-15 08:27:42
JavaScript 检测冲突 在将文件写入磁盘之前,请检查是否存在冲突,并提示您采取措施(必要时)。 其中一些代码基于的和的。 安装 用安装 $ npm i detect-conflicts --save 用法 var detect = require ( 'detect-conflicts' ) ; var file = { path : 'fixtures/a.txt' , contents : 'aaa' } ; detect ( file , function ( res ) { // `res` would be a user response. we'll only get to this // point if the user chooses not to abort. } ) ; 相关项目 :用于Grunt.js,Yeoman和Node.js的静态站点生成器。 由Zurb
【文件预览】:
detect-conflicts-master
----.jshintrc(282B)
----.gitattributes(128B)
----fixtures()
--------a.txt(3B)
--------c.txt(8B)
--------b.txt(7B)
----lib()
--------utils.js(488B)
----.verb.md(929B)
----test.js(1KB)
----.travis.yml(151B)
----LICENSE(1KB)
----README.md(2KB)
----.editorconfig(415B)
----.gitignore(145B)
----index.js(5KB)
----package.json(1KB)

网友评论