MCPcopy Create free account
hub / github.com/McNull/angular-block-ui / isFile

Function isFile

gulp-tasks/module-tasks/copy-task.js:24–30  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

22 // Sometimes node is unable to read the stat property (file-busy)
23
24 function isFile(file) {
25 try {
26 return file.stat && file.stat.isFile();
27 } catch (e) {
28 return false;
29 }
30 }
31
32 module.watch('copy', function () {
33

Callers 2

copy-task.jsFile · 0.85
copyCleanDirsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected