(file, cb, flags, options, detailInfo1, detailInfo2)
| 115664 | }; |
| 115665 | } |
| 115666 | function createDirectoryWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) { |
| 115667 | var watchInfo = "DirectoryWatcher:: Added:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)); |
| 115668 | log(watchInfo); |
| 115669 | var start = ts.timestamp(); |
| 115670 | var watcher = triggerInvokingFactory.watchDirectory(file, cb, flags, options, detailInfo1, detailInfo2); |
| 115671 | var elapsed = ts.timestamp() - start; |
| 115672 | log("Elapsed:: ".concat(elapsed, "ms ").concat(watchInfo)); |
| 115673 | return { |
| 115674 | close: function () { |
| 115675 | var watchInfo = "DirectoryWatcher:: Close:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)); |
| 115676 | log(watchInfo); |
| 115677 | var start = ts.timestamp(); |
| 115678 | watcher.close(); |
| 115679 | var elapsed = ts.timestamp() - start; |
| 115680 | log("Elapsed:: ".concat(elapsed, "ms ").concat(watchInfo)); |
| 115681 | } |
| 115682 | }; |
| 115683 | } |
| 115684 | function createTriggerLoggingAddWatch(key) { |
| 115685 | return function (file, cb, flags, options, detailInfo1, detailInfo2) { return plainInvokeFactory[key].call(/*thisArgs*/ undefined, file, function () { |
| 115686 | var args = []; |
nothing calls this directly
no test coverage detected
searching dependent graphs…