(path, type, args)
| 279 | if (!_syncIsEnable) return Q(changes); |
| 280 | |
| 281 | var addChange = function(path, type, args) { |
| 282 | if (isIgnoredFile(path)) { |
| 283 | return; |
| 284 | } |
| 285 | logger.log("change:",type,path); |
| 286 | changes.add(_.extend(args || {}, { |
| 287 | 'path': path, |
| 288 | 'time': Date.now(), |
| 289 | 'type': type || "M" |
| 290 | })); |
| 291 | } |
| 292 | |
| 293 | var getDirChanges = function(path) { |
| 294 | var localEntries, boxEntries, currentEntryInfos, fp; |
no test coverage detected